Material-ui-pickers: 100% width

Created on 15 Dec 2017  路  3Comments  路  Source: mui-org/material-ui-pickers

Hello, I'm trying to make the DatePicker (or any of the components in this awesome library) fill the width of the parent container. Is there a way to do this?

Most helpful comment

Hi,

Pass the fullWidth attribute to your element.
<DatePicker fullWidth />

All 3 comments

Hi,

Pass the fullWidth attribute to your element.
<DatePicker fullWidth />

Any props not recognized by the DatePicker and it's sub-components are passed down to TextField.

Pass the fullWidth attribute to DatePicker not work to me

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aditya81070 picture aditya81070  路  3Comments

basselAhmed picture basselAhmed  路  3Comments

Harasz picture Harasz  路  3Comments

danmce picture danmce  路  3Comments

sakulstra picture sakulstra  路  3Comments