Skip to content

Commit

Permalink
fix(Tabs): typo readme types fix
Browse files Browse the repository at this point in the history
  • Loading branch information
helenjer committed Feb 9, 2023
1 parent b94ebba commit 3f96a9c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/components/Tabs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@

### Tabs PropTypes

| Property | Type | Required | Default | Description |
| :--------------- | :------------------------------------------------------------------------ | :------: | :----------- | :------------------------------------------------------------------- |
| direction | `String` | | `horizontal` | Tab direction (deprecated) |
| activeTab | `String` | | | Active tab ID |
| allowNotSelected | `Boolean` | | | Allows `activeTab` to be undefined |
| items | `TabItemProps[]` | `true` | `[]` | Tabs array |
| onSelectTab | `onSelectTab?(tabId: string): void` | `true` | | Select tab handler |
| wrapTo | `wrapTo?(item: TabItemProps, node: React.ReactNode, index: number): void` | | | Allows to wrap `TabItem` into another component or render custom tab |
| className | `String` | | | CSS-class of element |
| Property | Type | Required | Default | Description |
| :--------------- | :------------------------------------------------------------------------- | :------: | :----------- | :------------------------------------------------------------------- |
| direction | `String` | | `horizontal` | Tab direction (deprecated) |
| activeTab | `String` | | | Active tab ID |
| allowNotSelected | `Boolean` | | | Allows `activeTab` to be undefined |
| items | `TabsItemProps[]` | `true` | `[]` | Tabs array |
| onSelectTab | `onSelectTab?(tabId: string): void` | `true` | | Select tab handler |
| wrapTo | `wrapTo?(item: TabsItemProps, node: React.ReactNode, index: number): void` | | | Allows to wrap `TabItem` into another component or render custom tab |
| className | `String` | | | CSS-class of element |

### Examples

Expand Down

0 comments on commit 3f96a9c

Please sign in to comment.