- Trying to adjust the CSS for Material-UI
- When setting the width, everything works fine. However, when attempting to set display inline, an error occurs ---> "inline is not defined"
- Can anyone provide guidance on how to resolve this issue?
- Sharing my code snippet and sandbox link below
<Tabs
value={value}
onChange={this.handleChange}
scrollable
scrollButtons="on"
indicatorColor="primary"
textColor="primary"
style={{ width: 500 }}
>
<Tab
style={{ display: inline }}
label="Item One"
icon={<PhoneIcon />}
/>
<Tab label="Item Two" icon={<FavoriteIcon />} />
</Tabs>