lucid-ui
Version:
A UI component library from AppNexus.
52 lines (51 loc) • 1.54 kB
TypeScript
import React from 'react';
import { StandardProps } from '../../util/component-types';
import { IRadioButtonProps } from '../RadioButton/RadioButton';
export interface IRadioButtonLabeledLabelProps extends StandardProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
description?: string;
}
export interface IRadioButtonLabeledProps extends IRadioButtonProps {
/** Child element whose children are used to identify the purpose of this
radio button to the user. */
Label?: string | React.ReactNode & {
props: IRadioButtonLabeledLabelProps;
};
}
export declare const RadioButtonLabeled: {
(props: IRadioButtonLabeledProps): React.ReactElement;
displayName: string;
defaultProps: {
isDisabled: boolean;
isSelected: boolean;
onSelect: (...args: any[]) => void;
};
peek: {
description: string;
notes: {
overview: string;
intendedUse: string;
technicalRecommendations: string;
};
categories: string[];
extend: string;
madeFrom: string[];
};
propTypes: {
className: any;
style: any;
Label: any;
isDisabled: any;
isSelected: any;
name: any;
onSelect: any;
};
Label: {
(_props: IRadioButtonLabeledLabelProps): null;
displayName: string;
peek: {
description: string;
};
propName: string;
};
};
export default RadioButtonLabeled;