import React from 'react'; export interface Props { inputClassName?: string; checked?: boolean; disabled?: boolean; name?: string; value?: string; onChange?: (event: React.ChangeEvent) => void; inputRef?: React.Ref; /** * 给input元素应用上新的属性 */ inputProps?: React.DetailedHTMLProps, HTMLInputElement>; color?: string; } /** * 开关控件标签组件,主要包括小圆点 * * @export * @param {Props} props * @returns */ export default function SwitchLabel(props: Props): JSX.Element;