UNPKG

@vs-form/vs-form

Version:

A schema-based form generator component for React using material-ui

22 lines (21 loc) 993 B
import * as React from 'react'; import * as types from '../../schemaManager/types'; import { ItemProps, ItemDataProps } from '../../common/propTypes'; export default class VsChecklistBox extends React.Component<ItemProps> { private readonly comp; private FormGroupProps; private CheckboxProps; private FormControlLabelProps; private IconButtonProps; private componentEventParams; private inputRef; constructor(props: ItemProps); render(): JSX.Element; renderComp: (dataProps: ItemDataProps) => JSX.Element; renderItems: (dataProps: ItemDataProps) => JSX.Element[]; actionButton: (dataProps: ItemDataProps, item: types.IChecklistboxItem) => JSX.Element | null; getIcon: (icon: string | string[] | undefined) => JSX.Element | null; handleToggle: (value: any, dataProps: ItemDataProps) => () => void; actionBtnClick: (dataProps: ItemDataProps, item: types.IChecklistboxItem) => () => void; private initProps; }