@macrostrat/column-components
Version:
React rendering primitives for stratigraphic columns
22 lines (16 loc) • 738 B
JavaScript
import {createContext as $75Whx$createContext} from "react";
import $75Whx$macrostrathyper from "@macrostrat/hyper";
const $bd36adb6cb8812b2$export$cd365f0801599660 = (0, $75Whx$createContext)({
lithologies: []
});
function $bd36adb6cb8812b2$export$9c59de1c28f85122(props) {
const { lithologies: lithologies, children: children } = props;
// @ts-ignore
return (0, $75Whx$macrostrathyper)($bd36adb6cb8812b2$export$cd365f0801599660.Provider, {
value: {
lithologies: lithologies
}
}, children);
}
export {$bd36adb6cb8812b2$export$cd365f0801599660 as LithologyContext, $bd36adb6cb8812b2$export$9c59de1c28f85122 as LithologyProvider};
//# sourceMappingURL=column-components.30593019.js.map