fix(cli): allow passing a list of file names to write-heading-ids (#6500)

This commit is contained in:
Joshua Chen 2022-01-29 12:21:15 +08:00 committed by GitHub
parent 9af7aae9e2
commit c1e3801ee7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 74 additions and 74 deletions

View file

@ -128,7 +128,7 @@ It is possible to only render the default tab with `<Tabs lazy />`.
:::
## Displaying a default tab
## Displaying a default tab {#displaying-a-default-tab}
The first tab is displayed by default, and to override this behavior, you can specify a default tab by adding `default` to one of the tab items. You can also set the `defaultValue` prop of the `Tabs` component to the label value of your choice. For example, in the example above, either setting `default` for the `value="apple"` tab or setting `defaultValue="apple"` for the tabs forces the "Apple" tab to be open by default.
@ -248,7 +248,7 @@ You might want to customize the appearance of a certain set of tabs. You can pas
</BrowserWindow>
```
### Customizing tab headings
### Customizing tab headings {#customizing-tab-headings}
You can also customize each tab heading independently by using the `attributes` field. The extra props can be passed to the headings either through the `values` prop in `Tabs`, or props of each `TabItem`—in the same way as you declare `label`.