UNPKG

@yamada-ui/react

Version:

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

44 lines (43 loc) 1.83 kB
import { LoadingScheme, ThemeProps } from "../../core/system/index.types.js"; import { Component, HTMLStyledProps } from "../../core/components/index.types.js"; import "../../core/index.js"; import { AlertStyle } from "./alert.style.js"; import { IconProps } from "../icon/icon.js"; import { LoadingProps } from "../loading/loading.js"; import { StatusScheme } from "../status/status.js"; import "../../index.js"; import * as react50 from "react"; //#region src/components/alert/alert.d.ts interface AlertRootProps extends HTMLStyledProps, ThemeProps<AlertStyle> { /** * The status of the alert. * * @default 'info' */ status?: StatusScheme; } declare const AlertPropsContext: react50.Context<Partial<AlertRootProps> | undefined>, useAlertPropsContext: () => Partial<AlertRootProps> | undefined; /** * `Alert` is a component that conveys information to the user. * * @see https://yamada-ui.com/docs/components/alert */ declare const AlertRoot: Component<"div", AlertRootProps>; interface AlertIconProps extends IconProps {} declare const AlertIcon: Component<"svg", AlertIconProps>; interface AlertLoadingProps extends LoadingProps { /** * The loading scheme. * * @default 'oval' */ loadingScheme?: LoadingScheme; } declare const AlertLoading: Component<"svg", AlertLoadingProps>; interface AlertTitleProps extends HTMLStyledProps<"p"> {} declare const AlertTitle: Component<"p", AlertTitleProps>; interface AlertDescriptionProps extends HTMLStyledProps<"span"> {} declare const AlertDescription: Component<"span", AlertDescriptionProps>; //#endregion export { AlertDescription, AlertDescriptionProps, AlertIcon, AlertIconProps, AlertLoading, AlertLoadingProps, AlertPropsContext, AlertRoot, AlertRootProps, AlertTitle, AlertTitleProps, useAlertPropsContext }; //# sourceMappingURL=alert.d.ts.map