UNPKG

lucid-ui

Version:

A UI component library from AppNexus.

55 lines (54 loc) 1.49 kB
import React from 'react'; import { StandardProps } from '../../util/component-types'; import { ICheckboxProps } from '../Checkbox/Checkbox'; interface ILabelProps extends StandardProps { } export interface ICheckboxLabeledProps extends ICheckboxProps { /** Child element whose children are used to identify the purpose of this checkbox to the user. */ Label?: string | React.ReactNode & { props: ILabelProps; }; } export declare const CheckboxLabeled: { (props: ICheckboxLabeledProps): React.ReactElement; displayName: string; peek: { description: string; notes: { overview: string; intendedUse: string; technicalRecommendations: string; }; categories: string[]; madeFrom: string[]; }; defaultProps: { isIndeterminate: boolean; isDisabled: boolean; isSelected: boolean; onSelect: (...args: any[]) => void; }; propTypes: { isIndeterminate: any; isDisabled: any; isSelected: any; onSelect: any; className: any; style: any; Label: any; }; Label: { (props: ILabelProps): null; displayName: string; peek: { description: string; categories: string[]; madeFrom: string[]; }; propName: string; propTypes: { children: any; }; }; }; export default CheckboxLabeled;