import React from 'react' ; interface LastTickValueProps { x : number ; marginTop : number ; value : string ; } export function LastTickValue ( { x , marginTop , value } ) { return ( < g transform = { `translate(${ x }, ${ marginTop })` } > < text textAnchor = "middle" dy = "0" transform = "translate(0, -8)" > { value } < /text> < /g>); } LastTickValue . requiresSVG = true ;