Skip to content

Commit

Permalink
[pickers] Fix typo on the viewRenderers prop description (mui#12915)
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle authored and DungTiger committed Jul 23, 2024
1 parent 13c31ec commit 1bbcfb5
Show file tree
Hide file tree
Showing 44 changed files with 44 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
"description": "The visible view. Used when the component view is controlled. Must be a valid option from <code>views</code> list."
},
"viewRenderers": {
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be the used."
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be used."
},
"views": { "description": "Available views." },
"yearsPerRow": { "description": "Years rendered per row." }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
},
"value": { "description": "The selected value. Used when the component is controlled." },
"viewRenderers": {
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be the used."
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be used."
}
},
"classDescriptions": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
"description": "The visible view. Used when the component view is controlled. Must be a valid option from <code>views</code> list."
},
"viewRenderers": {
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be the used."
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be used."
},
"views": { "description": "Available views." },
"yearsPerRow": { "description": "Years rendered per row." }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
"description": "The visible view. Used when the component view is controlled. Must be a valid option from <code>views</code> list."
},
"viewRenderers": {
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be the used."
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be used."
},
"views": { "description": "Available views." }
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
"description": "The visible view. Used when the component view is controlled. Must be a valid option from <code>views</code> list."
},
"viewRenderers": {
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be the used."
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be used."
},
"views": { "description": "Available views." },
"yearsPerRow": { "description": "Years rendered per row." }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
},
"value": { "description": "The selected value. Used when the component is controlled." },
"viewRenderers": {
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be the used."
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be used."
}
},
"classDescriptions": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
"description": "The visible view. Used when the component view is controlled. Must be a valid option from <code>views</code> list."
},
"viewRenderers": {
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be the used."
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be used."
},
"views": { "description": "Available views." },
"yearsPerRow": { "description": "Years rendered per row." }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
"description": "The visible view. Used when the component view is controlled. Must be a valid option from <code>views</code> list."
},
"viewRenderers": {
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be the used."
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be used."
},
"views": { "description": "Available views." }
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"description": "The visible view. Used when the component view is controlled. Must be a valid option from <code>views</code> list."
},
"viewRenderers": {
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be the used."
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be used."
},
"views": { "description": "Available views." }
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
"description": "The visible view. Used when the component view is controlled. Must be a valid option from <code>views</code> list."
},
"viewRenderers": {
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be the used."
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be used."
},
"views": { "description": "Available views." },
"yearsPerRow": { "description": "Years rendered per row." }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
},
"value": { "description": "The selected value. Used when the component is controlled." },
"viewRenderers": {
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be the used."
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be used."
}
},
"classDescriptions": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
"description": "The visible view. Used when the component view is controlled. Must be a valid option from <code>views</code> list."
},
"viewRenderers": {
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be the used."
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be used."
},
"views": { "description": "Available views." },
"yearsPerRow": { "description": "Years rendered per row." }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
"description": "The visible view. Used when the component view is controlled. Must be a valid option from <code>views</code> list."
},
"viewRenderers": {
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be the used."
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be used."
},
"views": { "description": "Available views." }
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"description": "The visible view. Used when the component view is controlled. Must be a valid option from <code>views</code> list."
},
"viewRenderers": {
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be the used."
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be used."
},
"views": { "description": "Available views." }
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
"description": "The visible view. Used when the component view is controlled. Must be a valid option from <code>views</code> list."
},
"viewRenderers": {
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be the used."
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be used."
},
"views": { "description": "Available views." },
"yearsPerRow": { "description": "Years rendered per row." }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
},
"value": { "description": "The selected value. Used when the component is controlled." },
"viewRenderers": {
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be the used."
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be used."
}
},
"classDescriptions": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
"description": "The visible view. Used when the component view is controlled. Must be a valid option from <code>views</code> list."
},
"viewRenderers": {
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be the used."
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be used."
},
"views": { "description": "Available views." },
"yearsPerRow": { "description": "Years rendered per row." }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"description": "The visible view. Used when the component view is controlled. Must be a valid option from <code>views</code> list."
},
"viewRenderers": {
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be the used."
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be used."
},
"views": { "description": "Available views." }
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
"description": "The visible view. Used when the component view is controlled. Must be a valid option from <code>views</code> list."
},
"viewRenderers": {
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be the used."
"description": "Define custom view renderers for each section. If <code>null</code>, the section will only have field editing. If <code>undefined</code>, internally defined view will be used."
},
"views": { "description": "Available views." }
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ DateRangePicker.propTypes = {
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers: PropTypes.shape({
day: PropTypes.func,
Expand Down
2 changes: 1 addition & 1 deletion packages/x-date-pickers-pro/src/DateRangePicker/shared.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export interface BaseDateRangePickerProps<TDate extends PickerValidDate>
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers?: Partial<
PickerViewRendererLookup<DateRange<TDate>, 'day', DateRangeViewRendererProps<TDate, 'day'>, {}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ DateTimeRangePicker.propTypes = {
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers: PropTypes.shape({
day: PropTypes.func,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export interface BaseDateTimeRangePickerProps<TDate extends PickerValidDate>
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers?: Partial<DateTimeRangePickerRenderers<TDate, DateTimeRangePickerView>>;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ DesktopDateRangePicker.propTypes = {
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers: PropTypes.shape({
day: PropTypes.func,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ DesktopDateTimeRangePicker.propTypes = {
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers: PropTypes.shape({
day: PropTypes.func,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ MobileDateRangePicker.propTypes = {
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers: PropTypes.shape({
day: PropTypes.func,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ MobileDateTimeRangePicker.propTypes = {
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers: PropTypes.shape({
day: PropTypes.func,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ StaticDateRangePicker.propTypes = {
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers: PropTypes.shape({
day: PropTypes.func,
Expand Down
2 changes: 1 addition & 1 deletion packages/x-date-pickers/src/DatePicker/DatePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ DatePicker.propTypes = {
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers: PropTypes.shape({
day: PropTypes.func,
Expand Down
2 changes: 1 addition & 1 deletion packages/x-date-pickers/src/DatePicker/shared.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export interface BaseDatePickerProps<TDate extends PickerValidDate>
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers?: Partial<DatePickerViewRenderers<TDate, DateView>>;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ DateTimePicker.propTypes = {
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers: PropTypes.shape({
day: PropTypes.func,
Expand Down
2 changes: 1 addition & 1 deletion packages/x-date-pickers/src/DateTimePicker/shared.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export interface BaseDateTimePickerProps<
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers?: Partial<DateTimePickerViewRenderers<TDate, TView>>;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ DesktopDatePicker.propTypes = {
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers: PropTypes.shape({
day: PropTypes.func,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ DesktopDateTimePicker.propTypes = {
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers: PropTypes.shape({
day: PropTypes.func,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ DesktopTimePicker.propTypes = {
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers: PropTypes.shape({
hours: PropTypes.func,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ MobileDatePicker.propTypes = {
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers: PropTypes.shape({
day: PropTypes.func,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ MobileDateTimePicker.propTypes = {
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers: PropTypes.shape({
day: PropTypes.func,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ MobileTimePicker.propTypes = {
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers: PropTypes.shape({
hours: PropTypes.func,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ StaticDatePicker.propTypes = {
/**
* Define custom view renderers for each section.
* If `null`, the section will only have field editing.
* If `undefined`, internally defined view will be the used.
* If `undefined`, internally defined view will be used.
*/
viewRenderers: PropTypes.shape({
day: PropTypes.func,
Expand Down
Loading

0 comments on commit 1bbcfb5

Please sign in to comment.