File size: 841 Bytes
9e6ae12 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | "use strict";
"use client";
/**
* @license lucide-react v1.21.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
import { createContext, useContext, useMemo, createElement } from 'react';
const LucideContext = createContext({});
function LucideProvider({
children,
size,
color,
strokeWidth,
absoluteStrokeWidth,
className
}) {
const value = useMemo(
() => ({
size,
color,
strokeWidth,
absoluteStrokeWidth,
className
}),
[size, color, strokeWidth, absoluteStrokeWidth, className]
);
return createElement(LucideContext.Provider, { value }, children);
}
const useLucideContext = () => useContext(LucideContext);
export { LucideProvider, useLucideContext };
//# sourceMappingURL=context.mjs.map
|