@radix-ui/themes
Version:
[](https://radix-ui.com/themes)
12 lines (11 loc) • 690 B
TypeScript
import * as React from 'react';
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
import { checkboxPropDefs } from './checkbox.props.js';
import type { ComponentPropsWithout } from '../helpers/index.js';
import type { GetPropDefTypes, MarginProps } from '../props/index.js';
type CheckboxOwnProps = GetPropDefTypes<typeof checkboxPropDefs>;
interface CheckboxProps extends ComponentPropsWithout<typeof CheckboxPrimitive.Root, 'asChild' | 'color' | 'defaultValue' | 'children'>, MarginProps, CheckboxOwnProps {
}
declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
export { Checkbox };
export type { CheckboxProps };