import React from "react";
import { RootElementContext } from "./context";
const DEFAULT_COLORS = [
    "rgb(0, 188,202)",
    "rgb(208,232,233)",
    "rgb(243,209,130)",
    "rgb(255,116,16)",
    "rgb(52,65,181)",
    "rgb(151,184,126)",
    "rgb(0,132,145)",
    "rgb(62,49,91)",
];
export const Root = (props) => {
    var _a;
    return (React.createElement(RootElementContext.Provider, { value: Object.assign(Object.assign({}, props), { colors: (_a = props.colors) !== null && _a !== void 0 ? _a : DEFAULT_COLORS }) }, props.children));
};
export { Donut } from "./Donut";
export { Legend } from "./Legend";
export { BarChart } from "./BarChart";
//# sourceMappingURL=index.js.map