@cerberus-design/react
Version:
The Cerberus Design React component library.
43 lines (42 loc) • 962 B
TypeScript
import { ElementType } from 'react';
/**
* This module contains the parts of the Field component.
* @module 'field/parts'
*/
interface CheckboxPartsValue {
/**
* The container of the field.
*/
Root: ElementType;
/**
* The label of the field.
*/
Label: ElementType;
/**
* The control of the field.
*/
Control: ElementType;
/**
* The indicator of the field.
*/
Indicator: ElementType;
/**
* The hidden input of the field.
*/
HiddenInput: ElementType;
/**
* The checkbox group component.
*/
Group: ElementType;
}
/**
* An Object containing the parts of the Checkbox component. For users that
* prefer Object component syntax.
*
* @remarks
*
* When using object component syntax, you import the CheckboxParts object and
* the entire family of components vs. only what you use.
*/
export declare const CheckboxParts: CheckboxPartsValue;
export {};