UNPKG

jamis

Version:

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

18 lines (17 loc) 903 B
import React from 'react'; import type { GridSizeUnit, RendererComponent, RendererProps } from 'jamis-core'; import type { FormMode, GroupControlSchema } from '../types'; interface InputGroupProps extends RendererProps, Omit<GroupControlSchema, 'type' | 'className' | 'columnCount'> { formMode: FormMode; columnCount?: GridSizeUnit; } export declare class ControlGroupRenderer extends React.Component<InputGroupProps> { static hookBeforeRenderSchema: RendererComponent['hookBeforeRenderSchema']; constructor(props: InputGroupProps); renderControl(control: any, index: any, otherProps?: any): JSX.Element | null; renderVertical(props?: Readonly<InputGroupProps>): JSX.Element | null; renderHorizontal(props?: Readonly<InputGroupProps>): JSX.Element | null; renderInput(props?: Readonly<InputGroupProps>): JSX.Element | null; render(): JSX.Element | null; } export {};