jamis
Version:
一种支持通过JSON配置方式生成页面的组件库
18 lines (17 loc) • 606 B
TypeScript
/**
* 不建议用,以后可能会删除。可以直接用组合出来,不需要新建一个组件。
*/
import React from 'react';
import type { Option } from 'jamis-core';
import type { RepeatProps } from './types';
declare class RepeatControl extends React.Component<RepeatProps, any> {
static defaultProps: Partial<RepeatProps>;
constructor(props: RepeatProps);
handleOptionChange(option: Option): void;
handleChange(value: string): void;
renderInput(): JSX.Element;
render(): JSX.Element;
}
export declare class RepeatControlRenderer extends RepeatControl {
}
export {};