UNPKG

@radix-ui/themes

Version:

[![Radix Themes Logo](https://radix-ui.com/social/themes.png)](https://radix-ui.com/themes)

11 lines (10 loc) 549 B
import * as React from 'react'; import { badgePropDefs } from './badge.props.js'; import type { ComponentPropsWithout, RemovedProps } from '../helpers/index.js'; import type { GetPropDefTypes, MarginProps } from '../props/index.js'; type BadgeOwnProps = GetPropDefTypes<typeof badgePropDefs>; interface BadgeProps extends ComponentPropsWithout<'span', RemovedProps>, MarginProps, BadgeOwnProps { } declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>; export { Badge }; export type { BadgeProps };