Skip to main content

ThemeProviderProps

No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.

Kind: Interface
Package: @ovok/native

Import​

import { ThemeProviderProps } from '@ovok/native/theme';

TypeScript shape​

interface ThemeProviderProps {
children: React.ReactNode;
theme: {
colors: Partial<MD3Theme["colors"]> & typeof DEFAULT_COLORS;
extraColors?: Record<string, string>;
fonts?: ThemeFonts;
dark: boolean;
spacingMultiplier: ThemeScale;
borderRadiusMultiplier: ThemeScale;
};
}

This is a type-level export; it has no call parameters.

Public members​

MemberTypeDetails
childrenReact.ReactNode—
theme{ colors: Partial<MD3Theme["colors"]> & typeof DEFAULT_COLORS; extraColors?: Record<string, string>; fonts?: ThemeFonts; dark: boolean; spacingMultiplier: ThemeScale; borderRadiusMultiplier: ThemeScale; }—

Source​

View the declaration in the SDK source.