@momentum-ui/react-collaboration
Version:
Cisco Momentum UI Framework for React Collaboration Applications
37 lines (30 loc) • 779 B
text/typescript
import { CSSProperties, ReactNode } from 'react';
import { AriaLabelRequired } from '../../utils/a11y';
import { AriaRadioProps } from '@react-types/radio';
export type RadioSimpleProps = AriaLabelRequired &
AriaRadioProps & {
/**
* Child components of this RadioSimple.
*/
children?: ReactNode;
/**
* Custom class for overriding this component's CSS.
*/
className?: string;
/**
* The id for the RadioSimple component.
*/
id?: string;
/**
* Disabled state for the RadioSimple component.
*/
isDisabled?: boolean;
/**
* Custom style for overriding this component's CSS.
*/
style?: CSSProperties;
/**
* The value of the RadioSimple component.
*/
value: string;
};