Skip to main content

Import

Usage

Return Type

Properties

theme

'light' | 'dark' The current theme setting.

setTheme

(theme: 'light' | 'dark') => void Function to update the theme setting.

position

ModalPosition The current modal position setting.

setPosition

(position: ModalPosition) => void Function to update the modal position setting.