@vela-ui/react
Version:
Vela UI React components
14 lines (11 loc) • 756 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { CheckboxGroup as CheckboxGroup$1, ValidationResult } from 'react-aria-components';
type CheckboxGroupRootProps = React.ComponentProps<typeof CheckboxGroup$1>;
declare function CheckboxGroupRoot({ className, ...props }: CheckboxGroupRootProps): react_jsx_runtime.JSX.Element;
type CheckboxGroupProps = CheckboxGroupRootProps & {
label?: string;
description?: string;
errorMessage?: string | ((validation: ValidationResult) => string);
};
declare function CheckboxGroup({ children, label, description, errorMessage, ...props }: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
export { CheckboxGroup, type CheckboxGroupProps, CheckboxGroupRoot, type CheckboxGroupRootProps };