UNPKG

jamis

Version:

一种支持通过JSON配置方式生成页面的组件库

15 lines (14 loc) 689 B
import React from 'react'; import type { ActionObject } from 'jamis-core'; import type { CheckboxControlSchema, FormControlProps } from '../types'; interface CheckboxProps extends FormControlProps, Omit<CheckboxControlSchema, 'type' | 'className' | 'descriptionClassName' | 'inputClassName' | 'onChange'> { } export default class CheckboxControl extends React.Component<CheckboxProps, any> { static defaultProps: Partial<CheckboxProps>; doAction(action: ActionObject, data: object, throwErrors: boolean): void; dispatchChangeEvent(eventData?: any): Promise<void>; render(): JSX.Element; } export declare class CheckboxControlRenderer extends CheckboxControl { } export {};