diff --git a/docs/data/date-pickers/custom-field/BrowserV7Field.tsx b/docs/data/date-pickers/custom-field/BrowserV7Field.tsx index baeb15f8f6cef..960231e392279 100644 --- a/docs/data/date-pickers/custom-field/BrowserV7Field.tsx +++ b/docs/data/date-pickers/custom-field/BrowserV7Field.tsx @@ -9,10 +9,7 @@ import { DatePickerProps, } from '@mui/x-date-pickers/DatePicker'; import { unstable_useDateField as useDateField } from '@mui/x-date-pickers/DateField'; -import { - useClearableField, - UseClearableFieldResponse, -} from '@mui/x-date-pickers/hooks'; +import { useClearableField } from '@mui/x-date-pickers/hooks'; import { BaseSingleInputPickersTextFieldProps } from '@mui/x-date-pickers/models'; import { Unstable_PickersSectionList as PickersSectionList } from '@mui/x-date-pickers/PickersSectionList'; @@ -39,7 +36,7 @@ interface BrowserTextFieldProps React.HTMLAttributes, keyof BaseSingleInputPickersTextFieldProps >, - UseClearableFieldResponse> {} + BaseSingleInputPickersTextFieldProps {} const BrowserTextField = React.forwardRef( (props: BrowserTextFieldProps, ref: React.Ref) => { diff --git a/docs/data/date-pickers/custom-opening-button/custom-opening-button.md b/docs/data/date-pickers/custom-opening-button/custom-opening-button.md index 10e97f52f8e14..bf7f520ee36b8 100644 --- a/docs/data/date-pickers/custom-opening-button/custom-opening-button.md +++ b/docs/data/date-pickers/custom-opening-button/custom-opening-button.md @@ -41,7 +41,7 @@ If you want to track the opening of the picker, you should use the `onOpen` / `o ## Render the opening button at the start of the input -You can use the `openPickerButtonPosition` on the `field` slot to set the opening button at the start of the input (on the left in lef-to-right direction, on the right in left-to-right direction). +You can use the `openPickerButtonPosition` on the `field` slot to set the opening button at the start of the input (on the left in lef-to-right direction, on the right in left-to-right direction): {{"demo": "StartEdgeOpeningButton.js"}}