From d1a8980625e21fc25f26d476b1b429a8c6d1efd0 Mon Sep 17 00:00:00 2001 From: liaoxuezhi Date: Thu, 23 May 2019 16:08:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=9F=8E=E5=B8=82=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Select.tsx | 7 +- src/index.tsx | 1 + src/renderers/Form/City.tsx | 327 ++++ src/renderers/Form/CityDB.ts | 3577 ++++++++++++++++++++++++++++++++++ 4 files changed, 3909 insertions(+), 3 deletions(-) create mode 100644 src/renderers/Form/City.tsx create mode 100644 src/renderers/Form/CityDB.ts diff --git a/src/components/Select.tsx b/src/components/Select.tsx index fe2aef71..b5c6ca77 100644 --- a/src/components/Select.tsx +++ b/src/components/Select.tsx @@ -122,14 +122,14 @@ export function normalizeOptions(options: string | {[propName: string]: string} interface SelectProps { classPrefix: string; classnames: ClassNamesFn; - className: string; + className?: string; creatable: boolean; multiple: boolean; valueField: string; labelField: string; - searchable: boolean; + searchable?: boolean; options: Array