UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

17 lines (13 loc) 403 B
import { ShapeComponent as SC } from '../../runtime'; import { BaseCircle, Circle } from './circle'; export type HollowCircleOptions = Record<string, any>; /** * ○ */ export const HollowCircle: SC<HollowCircleOptions> = (options, context) => { return BaseCircle({ colorAttribute: 'stroke', ...options }, context); }; HollowCircle.props = { defaultMarker: 'hollowPoint', ...Circle.props, };