UNPKG

@yamada-ui/react

Version:

React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion

35 lines (34 loc) 1.23 kB
import { ThemeProps } from "../../core/system/index.types.js"; import { Component, HTMLStyledProps } from "../../core/components/index.types.js"; import "../../core/index.js"; import { StatusStyle } from "./status.style.js"; import "../../index.js"; import * as react2631 from "react"; //#region src/components/status/status.d.ts type StatusScheme = "error" | "info" | "success" | "warning"; interface StatusProps extends HTMLStyledProps, ThemeProps<StatusStyle> { /** * The type of the status * * @default 'info' * */ value?: StatusScheme; /** * The props for the status indicator component */ indicatorProps?: HTMLStyledProps; /** * The props for the status label component */ labelProps?: HTMLStyledProps; } declare const StatusPropsContext: react2631.Context<Partial<StatusProps> | undefined>, useStatusPropsContext: () => Partial<StatusProps> | undefined; /** * `Status` is component that indicate the status of a process or state. * * @see https://yamada-ui.com/docs/components/status */ declare const Status: Component<"div", StatusProps>; //#endregion export { Status, StatusProps, StatusPropsContext, StatusScheme, useStatusPropsContext }; //# sourceMappingURL=status.d.ts.map