UNPKG

@yamada-ui/react

Version:

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

20 lines (16 loc) 751 B
"use client"; const require_create_component = require('../../core/components/create-component.cjs'); const require_badge_style = require('./badge.style.cjs'); //#region src/components/badge/badge.tsx const { PropsContext: BadgePropsContext, usePropsContext: useBadgePropsContext, withContext } = require_create_component.createComponent("badge", require_badge_style.badgeStyle); /** * `Badge` is a component that emphasizes the status of an item to make it immediately recognizable. * * @see https://yamada-ui.com/docs/components/badge */ const Badge = withContext("span")(); //#endregion exports.Badge = Badge; exports.BadgePropsContext = BadgePropsContext; exports.useBadgePropsContext = useBadgePropsContext; //# sourceMappingURL=badge.cjs.map