Skip to content

Commit

Permalink
[Tabs] Document visibleScrollBar default value (mui#22475)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon authored Sep 4, 2020
1 parent d9ca53d commit f39937f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/material-ui/src/Tabs/Tabs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export interface TabsTypeMap<P = {}, D extends React.ElementType = typeof Button
/**
* If `true`, the scrollbar will be visible. It can be useful when displaying
* a long vertical list of tabs.
* @default false
*/
visibleScrollbar?: boolean;
};
Expand Down
1 change: 1 addition & 0 deletions packages/material-ui/src/Tabs/Tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,7 @@ Tabs.propTypes = {
/**
* If `true`, the scrollbar will be visible. It can be useful when displaying
* a long vertical list of tabs.
* @default false
*/
visibleScrollbar: PropTypes.bool,
};
Expand Down

0 comments on commit f39937f

Please sign in to comment.