UNPKG

@radix-ui/themes

Version:

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

11 lines (10 loc) 537 B
import * as React from 'react'; import { cardPropDefs } from './card.props.js'; import type { ComponentPropsWithout, RemovedProps } from '../helpers/index.js'; import type { GetPropDefTypes, MarginProps } from '../props/index.js'; type CardOwnProps = GetPropDefTypes<typeof cardPropDefs>; interface CardProps extends ComponentPropsWithout<'div', RemovedProps>, MarginProps, CardOwnProps { } declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>; export { Card }; export type { CardProps };