添加 dic 组件,select 和 value text

This commit is contained in:
sin
2019-03-07 21:56:05 +08:00
parent 03f6b2b82c
commit 657eb1c980
61 changed files with 432 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import * as React from 'react';
import { Select } from 'antd';
export interface DictionaryObject {
text?: string;
value?: string | number | boolean;
}
export interface IDictionarySelectProps extends Select {
list?: DictionaryObject[];
}
export default class DictionarySelectD extends React.Component<IDictionarySelectProps, any> {}