@metamask/design-system-twrnc-preset
Version:
15 lines • 557 B
text/typescript
import React from "react";
import type { Theme } from "./Theme.types.mjs";
/**
* Theme provider component that wraps child components with theme context
*
* @param options - Component props
* @param options.children - Child components to render
* @param options.theme - Theme to apply (light or dark)
* @returns React component that provides theme context to children
*/
export declare const ThemeProvider: ({ children, theme, }: {
children: React.ReactNode;
theme: Theme;
}) => React.JSX.Element;
//# sourceMappingURL=ThemeProvider.d.mts.map