UI kit reference
components/ThemeThumb
import { … } from 'zidane-ui'ui/src/components/ThemeThumb.tsx
Components#
ThemeThumbComponent#
Renders a theme's palette as a miniature window.
function ThemeThumb(props: ThemeThumbProps): ElementParameters
| Name | Type | Description |
|---|---|---|
| props | ThemeThumbProps | Component props. |
Returns
ElementProps
| Name | Type | Description |
|---|---|---|
| className? | string | Extra classes on the thumbnail. |
| palette | ResolvedPalette | The theme's resolved palette ( |
| style? | CSSProperties | Inline styles on the root element, merged after the component's own. |
Interfaces#
ThemeThumbPropsInterface#
Props for ThemeThumb.
interface ThemeThumbPropsProperties
| Name | Type | Description |
|---|---|---|
| className? | string | Extra classes on the thumbnail. |
| palette | ResolvedPalette | The theme's resolved palette ( |
| style? | CSSProperties | Inline styles on the root element, merged after the component's own. |