import { CompSize } from '../../utils'; export interface RadioProps { /** * 尺寸, 默认 base */ size?: CompSize; /** * 自定义颜色 */ color?: string; /** * 是否为按钮样式, 建议配合 KRadioGroup 使用 */ button?: boolean; /** * 是否启用严格模式,开启后只有点击单选框才能触发选中 */ strict?: boolean; } export interface RadioGroupProps { /** * 尺寸 */ size?: CompSize; /** * 排列方向 */ direction?: RadioDirection; /** * button 样式的 radio */ button?: boolean; /** * 自定义颜色 */ color?: string; /** * 是否启用严格模式,开启后只有点击单选框才能触发选中 */ strict?: boolean; } export type RadioDirection = 'row' | 'column';