s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Themes

ThemeSwitcher

No summary has been written for ThemeSwitcher. Everything below is generated from the declaration shipped in 0.44.0 and describes the real contract.

Public export

typescript
import { ThemeSwitcher } from '@happyvertical/smrt-ui/themes';
Import path
@happyvertical/smrt-ui/themes
Props
4
Props described
4 of 4
Bindable state
0
Callback events
0
Verified release
0.44.0

Props

NameTypeRequiredDescription
labelstringNoCustom label text
showIconsbooleanNoShow icons for each theme
variant'select' | 'buttons' | 'segmented'NoButton variant: 'select' | 'buttons' | 'segmented'
classstringNoAdditional CSS class

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation