Skip to main content

ThemeDevtools

Callable

  • ThemeDevtools(props: Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ref>, children | onChange | onError | keyof ThemeDevtoolsCommonOptions | keyof LocalInspectionOptions> & ThemeDevtoolsCommonOptions & LocalInspectionOptions & { onChange?: (inputs: readonly ThemeInputExport[]) => void; onError?: (error: unknown) => void; onReady?: (controller: null | ThemeDevtools) => void } & RefAttributes<null | ThemeDevtools>): ReactNode

  • Client-only host for the native devtools controller. Application theme sources remain owned by their existing runtime; this component owns only the private UI.


    Parameters

    • props: Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ref>, children | onChange | onError | keyof ThemeDevtoolsCommonOptions | keyof LocalInspectionOptions> & ThemeDevtoolsCommonOptions & LocalInspectionOptions & { onChange?: (inputs: readonly ThemeInputExport[]) => void; onError?: (error: unknown) => void; onReady?: (controller: null | ThemeDevtools) => void } & RefAttributes<null | ThemeDevtools>

    Returns ReactNode