Skip to content

Commit

Permalink
feat: add Card Switch Alert & fix Tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
wengdi.1640 committed Jan 19, 2024
1 parent 4536ccb commit 8c8ff65
Show file tree
Hide file tree
Showing 9 changed files with 8,783 additions and 13 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### 第一步

`bin/cli.js` 文件中新增组件选项
`bin/transforms.js` 文件中新增组件选项

```js
const TRANSFORMER_INQUIRER_CHOICES = [
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ Replacing `<path>` with appropriate values.
- [x] Input
- [x] InputNumber
- [x] Radio
- [ ] Switch
- [x] Switch
- [x] Card
- [ ] Checkbox
- [x] Upload
- [ ] AutoComplete
Expand All @@ -58,6 +59,6 @@ Replacing `<path>` with appropriate values.
- [ ] Icon
- [ ] Avatar
- [ ] List
- [ ] Alert
- [x] Alert
- [ ] Menu
- [ ] Pagination
5 changes: 4 additions & 1 deletion bin/transformer.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ const TRANSFORMER_INQUIRER_CHOICES = [
'InputNumber',
'Radio',
'Upload',
'Input'
'Input',
'Switch',
'Alert',
'Card'
]
.sort((a, b) => a.localeCompare(b))
.map((v) => ({
Expand Down
Loading

0 comments on commit 8c8ff65

Please sign in to comment.