docs: fix typo (#35439)

* chore: fixed typo

* chore: fixed typo+1
This commit is contained in:
Yanming Deng 2022-05-09 18:09:02 +08:00 committed by GitHub
parent c897728eb8
commit 36ded1a741
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ Define `type` as `group` to make as group:
const groupItem = {
type: 'group', // Must have
label: 'My Group',
chidlren: [],
children: [],
};
```

View File

@ -138,7 +138,7 @@ return <Menu items={items} />;
const groupItem = {
type: 'group', // Must have
label: 'My Group',
chidlren: [],
children: [],
};
```