添加 dic 组件,select 和 value text
This commit is contained in:
13
admin-web/src/components/Dictionary/DictionarySelect.d.ts
vendored
Normal file
13
admin-web/src/components/Dictionary/DictionarySelect.d.ts
vendored
Normal 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> {}
|
||||
Reference in New Issue
Block a user