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