tntd
Version:
tntd是基于 TNT Design 设计体系的 React UI 组件库,主要用于研发企业级中后台产品。
18 lines • 648 B
TypeScript
import React from 'react';
import AntdSwitch from 'antd/lib/switch';
import type { SwitchProps as AntdSwitchProps } from 'antd/lib/switch';
import './style';
export * from 'antd/lib/switch';
export declare type SwitchProps = AntdSwitchProps & {
readonly?: boolean;
text?: string;
subText?: string;
};
export declare const TntdSwitch: React.ForwardRefExoticComponent<AntdSwitchProps & {
readonly?: boolean | undefined;
text?: string | undefined;
subText?: string | undefined;
} & React.RefAttributes<AntdSwitch>>;
export declare const Switch: React.FC<SwitchProps>;
export default Switch;
//# sourceMappingURL=switch.d.ts.map