Import
Usage
Return Type
| Property | Type | Description |
|---|---|---|
theme | 'light' | 'dark' | The current theme. |
setTheme | (theme: 'light' | 'dark') => void | Sets the theme to light or dark mode. |
position | ModalPosition | The current modal placement. |
setPosition | (position: ModalPosition) => void | Changes the modal position on screen. |