@antv/g2
Version:
the Grammar of Graphics in Javascript
27 lines (23 loc) • 482 B
text/typescript
import { ShapeComponent as SC } from '../../runtime';
import { Color } from './color';
export type HollowTriangleDownOptions = Record<string, any>;
/**
* ▽
*/
export const HollowTriangleDown: SC<HollowTriangleDownOptions> = (
options,
context,
) => {
return Color(
{
colorAttribute: 'stroke',
symbol: 'triangle-down',
...options,
},
context,
);
};
HollowTriangleDown.props = {
defaultMarker: 'hollowTriangleDown',
...Color.props,
};