UNPKG

@yamada-ui/react

Version:

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

57 lines (56 loc) 2.42 kB
import { ThemeProps } from "../../core/system/index.types.js"; import { Component, HTMLStyledProps } from "../../core/components/index.types.js"; import "../../core/index.js"; import { EmptyState } from "./empty-state.style.js"; import "../../index.js"; import * as react886 from "react"; import { ReactNode } from "react"; //#region src/components/empty-state/empty-state.d.ts interface EmptyStateRootProps extends Omit<HTMLStyledProps, "title">, ThemeProps<EmptyState> { /** * The empty state description to use. */ description?: ReactNode; /** * The empty state indicator to use. */ indicator?: ReactNode; /** * The empty state title to use. */ title?: ReactNode; /** * The props for the empty state content component. */ contentProps?: EmptyStateContentProps; /** * The props for the empty state description component. */ descriptionProps?: EmptyStateDescriptionProps; /** * The props for the empty state indicator component. */ indicatorProps?: EmptyStateIndicatorProps; /** * The props for the empty state title component. */ titleProps?: EmptyStateTitleProps; } declare const EmptyStatePropsContext: react886.Context<Partial<EmptyStateRootProps> | undefined>, useEmptyStatePropsContext: () => Partial<EmptyStateRootProps> | undefined; /** * `EmptyState` is used to display when a resource is empty or not available. * * @see https://yamada-ui.com/docs/components/empty-state */ declare const EmptyStateRoot: Component<"div", EmptyStateRootProps>; interface EmptyStateIndicatorProps extends HTMLStyledProps {} declare const EmptyStateIndicator: Component<"div", EmptyStateIndicatorProps>; interface EmptyStateContentProps extends HTMLStyledProps {} declare const EmptyStateContent: Component<"div", EmptyStateContentProps>; interface EmptyStateTitleProps extends HTMLStyledProps<"h3"> {} declare const EmptyStateTitle: Component<"h3", EmptyStateTitleProps>; interface EmptyStateDescriptionProps extends HTMLStyledProps<"p"> {} declare const EmptyStateDescription: Component<"p", EmptyStateDescriptionProps>; //#endregion export { EmptyStateContent, EmptyStateContentProps, EmptyStateDescription, EmptyStateDescriptionProps, EmptyStateIndicator, EmptyStateIndicatorProps, EmptyStatePropsContext, EmptyStateRoot, EmptyStateRootProps, EmptyStateTitle, EmptyStateTitleProps, useEmptyStatePropsContext }; //# sourceMappingURL=empty-state.d.ts.map