Skip to content

Commit

Permalink
fix(decorator-mui): missing date/time helper module
Browse files Browse the repository at this point in the history
  • Loading branch information
soup-in-boots committed Apr 28, 2024
1 parent ff08267 commit 8f5c322
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/decorator-mui/src/input/date-utils.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { useContext } from 'react';
import { MuiPickersAdapterContext } from '@mui/x-date-pickers/LocalizationProvider';
export function usePickerUtils() {
return useContext(MuiPickersAdapterContext).utils;
}

0 comments on commit 8f5c322

Please sign in to comment.