UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

24 lines (20 loc) 444 B
import { ShapeComponent as SC } from '../../runtime'; import { Color } from './color'; export type HollowHexagonOptions = Record<string, any>; /** * ⬡ */ export const HollowHexagon: SC<HollowHexagonOptions> = (options, context) => { return Color( { colorAttribute: 'stroke', symbol: 'hexagon', ...options, }, context, ); }; HollowHexagon.props = { defaultMarker: 'hollowHexagon', ...Color.props, };