UNPKG

@yamada-ui/status

Version:

Yamada UI status component

31 lines (28 loc) 914 B
import * as _yamada_ui_core from '@yamada-ui/core'; import { HTMLUIProps, ThemeProps, StatusValue, Statuses } from '@yamada-ui/core'; declare const getStatusColorScheme: (status: StatusValue, statuses?: Statuses) => string; interface StatusOptions { /** * The type of the status * * @default 'info' * */ value?: StatusValue; /** * The props for the status indicator component */ indicatorProps?: HTMLUIProps; /** * The props for the status label component */ labelProps?: HTMLUIProps; } interface StatusProps extends HTMLUIProps, ThemeProps<"Status">, StatusOptions { } /** * `Status` is component that indicate the status of a process or state. * * @see Docs https://yamada-ui.com/components/data-display/status */ declare const Status: _yamada_ui_core.Component<"div", StatusProps>; export { Status, type StatusProps, getStatusColorScheme };