Material-ui-pickers: DateFnsUtils not exported from @material-ui-pickers/adapter/date-fns

Created on 13 Feb 2020  路  3Comments  路  Source: mui-org/material-ui-pickers

Expected behavior

There is DateFnsUtils exported from @material-ui-pickers/adapter/date-fns

Actual behavior

In v.4.0.0.alpha.2 release notes it says DateFns adapter is exposed by the lib but it doesn't.

-import DateFnsUtils from '@date-io/date-fns'
+import DateFnsUtils from '@material-ui-pickers/adapter/date-fns'

<MuiPickersUtilsProvider utils={DateFnsUtils}> 

Most helpful comment

Fixed in v4.0.0-alpha.3
Sorry for that 馃槩

All 3 comments

@material-ui/pickers/adapter/date-fns

@material-ui/pickers/adapter/date-fns

unable to resolve path module. I've tried reinstall the package, and the adapter folder still not there.

Fixed in v4.0.0-alpha.3
Sorry for that 馃槩

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danmce picture danmce  路  3Comments

harvitronix picture harvitronix  路  3Comments

danmce picture danmce  路  3Comments

cranst0n picture cranst0n  路  4Comments

Lysander picture Lysander  路  3Comments