feat(ComboBox): selectedIndex -> selectedId (#1016)

* feat(breaking): selectedIndex -> selectedId in ComboBox

* docs: update ComboBox
This commit is contained in:
Koichi Kiyokawa 2022-01-18 23:37:55 +09:00 committed by GitHub
commit cde8a79fa8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 91 additions and 102 deletions

View file

@ -12,10 +12,10 @@ items={[
{id: "2", text: "Fax"}
]} />
### Selected index
### Selected id
<ComboBox titleText="Contact" placeholder="Select contact method"
selectedIndex={1}
selectedId="1"
items={[
{id: "0", text: "Slack"},
{id: "1", text: "Email"},