jamis
Version:
一种支持通过JSON配置方式生成页面的组件库
14 lines (13 loc) • 440 B
TypeScript
import React from 'react';
import type { SwitchProps } from '../types';
export default class SwitchControl extends React.Component<SwitchProps, any> {
static defaultProps: {
trueValue: boolean;
falseValue: boolean;
optionAtLeft: boolean;
};
handleChange(checked: string | number | boolean): Promise<void>;
render(): JSX.Element;
}
export declare class SwitchControlRenderer extends SwitchControl {
}