UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

13 lines 460 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Diamond = void 0; const color_1 = require("./color"); /** * ◆ */ const Diamond = (options, context) => { return (0, color_1.Color)(Object.assign({ colorAttribute: 'fill', symbol: 'diamond' }, options), context); }; exports.Diamond = Diamond; exports.Diamond.props = Object.assign({ defaultMarker: 'diamond' }, color_1.Color.props); //# sourceMappingURL=diamond.js.map