"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Flame = void 0;
const __1 = require("..");
const spec_type_1 = require("../../specs/spec_type");
const spec_factory_1 = require("../../state/spec_factory");
const common_1 = require("../../utils/common");
const buildProps = (0, spec_factory_1.buildSFProps)()({
    chartType: __1.ChartType.Flame,
    specType: spec_type_1.SpecType.Series,
}, {
    valueAccessor: (d) => (typeof d === 'number' ? d : 0),
    valueGetter: (n) => n,
    valueFormatter: (d) => String(d),
    animation: { duration: 0 },
});
const Flame = function (props) {
    const { defaults, overrides } = buildProps;
    (0, spec_factory_1.useSpecFactory)({ ...defaults, ...(0, common_1.stripUndefined)(props), ...overrides });
    return null;
};
exports.Flame = Flame;
//# sourceMappingURL=flame_api.js.map