@material-ui/core
Version:
React components that implement Google's Material Design.
17 lines (12 loc) • 538 B
TypeScript
import * as React from 'react';
import { StandardProps } from '..';
import { SwitchBaseProps, SwitchBaseClassKey } from '../internal/SwitchBase';
export interface RadioProps
extends StandardProps<SwitchBaseProps, RadioClassKey, 'checkedIcon' | 'color' | 'icon'> {
checkedIcon?: React.ReactNode;
color?: 'primary' | 'secondary' | 'default';
icon?: React.ReactNode;
}
export type RadioClassKey = SwitchBaseClassKey | 'colorPrimary' | 'colorSecondary';
declare const Radio: React.ComponentType<RadioProps>;
export default Radio;