Pilates
    Preparing search index...

    Interface ThemeProviderProps

    interface ThemeProviderProps {
        children?: ReactNode;
        theme: Theme | Partial<Theme>;
    }
    Index

    Properties

    Properties

    children?: ReactNode
    theme: Theme | Partial<Theme>

    Either a full Theme object or a partial override. Partial overrides merge on top of the parent theme (or defaultTheme if no parent provider is present), so consumers can change one or two tokens without re-stating the rest.