@antv/g2
Version:
the Grammar of Graphics in Javascript
20 lines (16 loc) • 373 B
text/typescript
import { ShapeComponent as SC } from '../../runtime';
import { Color } from './color';
export type TickOptions = Record<string, any>;
/**
* 工
*/
export const Tick: SC<TickOptions> = (options, context) => {
return Color(
{ colorAttribute: 'stroke', symbol: 'tick', ...options },
context,
);
};
Tick.props = {
defaultMarker: 'tick',
...Color.props,
};