@antv/g2
Version:
the Grammar of Graphics in Javascript
24 lines (20 loc) • 444 B
text/typescript
import { ShapeComponent as SC } from '../../runtime';
import { Color } from './color';
export type HollowDiamondOptions = Record<string, any>;
/**
* ◇
*/
export const HollowDiamond: SC<HollowDiamondOptions> = (options, context) => {
return Color(
{
colorAttribute: 'stroke',
symbol: 'diamond',
...options,
},
context,
);
};
HollowDiamond.props = {
defaultMarker: 'hollowDiamond',
...Color.props,
};