Mission Control Dashboard - Initial implementation
This commit is contained in:
36
node_modules/lucide-react/dist/esm/context.js
generated
vendored
Normal file
36
node_modules/lucide-react/dist/esm/context.js
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
"use strict";
|
||||
"use client";
|
||||
/**
|
||||
* @license lucide-react v1.7.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.js.map
|
||||
Reference in New Issue
Block a user