import { jsx } from '@antv/f-engine'; import { GaugeProps } from './withGauge'; export interface Point { x: number; y: number; } export interface Tick { tickValue: number; start: Point; end: Point; } export { GaugeProps }; export default (props: GaugeProps) => { const { center, startAngle, endAngle, r, percent, ticks } = props; const { x, y } = center; const diff = endAngle - startAngle; return ( {ticks.map((tick) => { const { start, end } = tick; return ( ); })} ); };