@cimpress/react-components
Version:
React components to support the MCP styleguide
20 lines • 758 B
TypeScript
import React from 'react';
import { PublicComponentProps } from '../types';
export declare const RADIO_NAME = "CimRadio";
export interface RadioProps extends PublicComponentProps {
id?: string;
name?: string;
checked?: boolean;
label?: React.ReactNode;
value: string | number | string[] | undefined;
disabled?: boolean;
backgroundColor?: string;
onCheck?: (e: React.ChangeEvent<HTMLInputElement>, debouncedValue: string | number | string[] | undefined) => void;
onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
onFocus?: (e: React.FocusEvent<HTMLInputElement>) => void;
}
export declare const Radio: {
(props: RadioProps): React.JSX.Element;
displayName: string;
};
//# sourceMappingURL=Radio.d.ts.map