typing.d.ts 670 B

123456789101112131415161718192021222324252627
  1. /*
  2. * @Author: your name
  3. * @Date: 2021-11-11 14:30:19
  4. * @LastEditTime: 2021-11-11 14:30:20
  5. * @LastEditors: Please set LastEditors
  6. * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  7. * @FilePath: /KC-MiddlePlatform/src/components/kc-select/index.d.ts
  8. */
  9. declare namespace KCSelectType {
  10. type KCSelectPropsType = {
  11. data:optionsType[],
  12. optionProps?:optionsPropsType,
  13. [key:string]:any
  14. }
  15. type optionsPropsType = {
  16. //值参考antd Select
  17. [key:string]:any
  18. }
  19. type optionsType = {
  20. key:string,
  21. value:string
  22. }
  23. }