@antv/g2
Version:
the Grammar of Graphics in Javascript
24 lines (20 loc) • 443 B
text/typescript
import { ShapeComponent as SC } from '../../runtime';
import { Color } from './color';
export type TriangleDownOptions = Record<string, any>;
/**
* ▼
*/
export const TriangleDown: SC<TriangleDownOptions> = (options, context) => {
return Color(
{
colorAttribute: 'fill',
symbol: 'triangle-down',
...options,
},
context,
);
};
TriangleDown.props = {
defaultMarker: 'triangleDown',
...Color.props,
};