UNPKG

eapp-amis-theme-editor

Version:

amis主题编辑器

31 lines (30 loc) 792 B
/** * @file ThemeSelect.tsx * @description 可选择、可联想的输入框 */ import React from 'react'; import type { FormControlProps } from 'amis-core'; interface Option { label: any; value: string; realValue?: string; } interface ThemeSelectProps { options?: Option[]; value?: string; extraUnit?: Array<string>; onChange: (value: string) => void; disabled?: boolean; data?: any; state?: string; itemName?: string; menuTpl?: string; onBlur?: (value: string) => void; inheritValue?: string; placeholder?: string; } declare function ThemeSelect(props: ThemeSelectProps): JSX.Element; export default ThemeSelect; export declare class ThemeSelectRenderer extends React.Component<FormControlProps> { render(): JSX.Element; }