Skip to content

useRevTurbineThemeProviderPresent

useRevTurbineThemeProviderPresent(): boolean

Whether a RevTurbineThemeProvider is already mounted above the caller.

Used by RevTurbineProvider to decide whether to mount its own. Exposed so an app can make the same check — e.g. a design-system wrapper that only supplies a theme when nothing upstream has.

boolean

true when an ancestor mounted a theme provider.