ThemeButton API
Import
Props
lightElement
Element to render when the theme is light
.
Type: ReactNode
darkElement
Element to render when the theme is dark
.
Type: ReactNode
fullRounded
Whether to make the button full rounded.
Type: boolean
CSS Variables
You can customize the style of <ThemeButton />
component by using the
following CSS variables (custom properties):
CSS Classes
theme-button
The base styles for <ThemeButton />
component.
theme-button--full-rounded
Styles for the full-rounded
variant.