UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

24 lines (20 loc) 450 B
import { ShapeComponent as SC } from '../../runtime'; import { Color } from './color'; export type HollowTriangleOptions = Record<string, any>; /** * △ */ export const HollowTriangle: SC<HollowTriangleOptions> = (options, context) => { return Color( { colorAttribute: 'stroke', symbol: 'triangle', ...options, }, context, ); }; HollowTriangle.props = { defaultMarker: 'hollowTriangle', ...Color.props, };