UNPKG

@yamada-ui/react

Version:

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

19 lines (18 loc) 884 B
import { ThemeProps } from "../../core/system/index.types.js"; import { Component, HTMLStyledProps } from "../../core/components/index.types.js"; import "../../core/index.js"; import { BadgeStyle } from "./badge.style.js"; import "../../index.js"; import * as react44 from "react"; //#region src/components/badge/badge.d.ts interface BadgeProps extends HTMLStyledProps<"span">, ThemeProps<BadgeStyle> {} declare const BadgePropsContext: react44.Context<Partial<BadgeProps> | undefined>, useBadgePropsContext: () => Partial<BadgeProps> | undefined; /** * `Badge` is a component that emphasizes the status of an item to make it immediately recognizable. * * @see https://yamada-ui.com/docs/components/badge */ declare const Badge: Component<"span", BadgeProps>; //#endregion export { Badge, BadgeProps, BadgePropsContext, useBadgePropsContext }; //# sourceMappingURL=badge.d.ts.map