Skip to content

Commit

Permalink
Update DemoTabs.js (oliviertassinari#612)
Browse files Browse the repository at this point in the history
Tabs property has changed in the new version of materialTabs: https://material-ui.com/components/tabs/#centered
  • Loading branch information
yingshaoxo authored and TheAnkurPanchani committed Sep 27, 2023
1 parent b2b0230 commit bd75738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/demos/DemoTabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class DemoTabs extends React.Component {

return (
<div>
<Tabs value={index} fullWidth onChange={this.handleChange} style={styles.tabs}>
<Tabs value={index} fullWidth centered onChange={this.handleChange} style={styles.tabs}>
<Tab label="tab n°1" />
<Tab label="tab n°2" />
<Tab label="tab n°3" />
Expand Down

0 comments on commit bd75738

Please sign in to comment.