@radix-ui/themes
Version:
[](https://radix-ui.com/themes)
15 lines (14 loc) • 1.08 kB
TypeScript
import * as React from 'react';
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
import { radioCardsRootPropDefs } from './radio-cards.props.js';
import type { ComponentPropsWithout, RemovedProps } from '../helpers/index.js';
import type { GetPropDefTypes, MarginProps } from '../props/index.js';
type RadioCardsRootOwnProps = GetPropDefTypes<typeof radioCardsRootPropDefs>;
interface RadioCardsRootProps extends ComponentPropsWithout<typeof RadioGroupPrimitive.Root, 'asChild' | 'color' | 'defaultChecked'>, MarginProps, RadioCardsRootOwnProps {
}
declare const RadioCardsRoot: React.ForwardRefExoticComponent<RadioCardsRootProps & React.RefAttributes<HTMLDivElement>>;
interface RadioCardsItemProps extends ComponentPropsWithout<typeof RadioGroupPrimitive.Item, RemovedProps>, MarginProps {
}
declare const RadioCardsItem: React.ForwardRefExoticComponent<RadioCardsItemProps & React.RefAttributes<HTMLButtonElement>>;
export { RadioCardsRoot as Root, RadioCardsItem as Item };
export type { RadioCardsRootProps as RootProps, RadioCardsItemProps as ItemProps };