jamis
Version:
一种支持通过JSON配置方式生成页面的组件库
10 lines (9 loc) • 369 B
TypeScript
import type { ThemeProps } from 'jamis-core';
export interface InputSwitchProps extends ThemeProps {
options: Array<any>;
disabled?: boolean;
popOverContainer?: any;
value: any;
onChange: (value: any) => void;
}
export default function InputSwitch({ options, value, disabled, popOverContainer, className, onChange }: InputSwitchProps): JSX.Element;