Files
2026-01-16 02:20:32 +00:00

14 lines
498 B
TypeScript

import type { SwitchProps } from 'antd';
import React from 'react';
import type { ProFormFieldItemProps } from '../../typing';
export type ProFormSwitchProps = Omit<ProFormFieldItemProps<SwitchProps, HTMLElement>, 'emptyText'> & {
checkedChildren?: SwitchProps['checkedChildren'];
unCheckedChildren?: SwitchProps['unCheckedChildren'];
};
/**
* @zh-cn 单选 Switch
* @en-us Single Choice Switch
*/
declare const ProFormSwitch: React.FC<ProFormSwitchProps>;
export default ProFormSwitch;