Skip to content

Commit

Permalink
[docs] Avoid extracting classes twice (mui#25973)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Apr 27, 2021
1 parent 2e99746 commit 9431d4a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 18 additions & 1 deletion docs/pages/api-docs/date-range-picker-day.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,24 @@
"selected": { "type": { "name": "bool" } }
},
"name": "DateRangePickerDay",
"styles": { "classes": [], "globalClasses": {}, "name": null },
"styles": {
"classes": [
"root",
"rangeIntervalDayHighlight",
"rangeIntervalDayHighlightStart",
"rangeIntervalDayHighlightEnd",
"day",
"dayOutsideRangeInterval",
"dayInsideRangeInterval",
"notSelectedDate",
"rangeIntervalPreview",
"rangeIntervalDayPreview",
"rangeIntervalDayPreviewStart",
"rangeIntervalDayPreviewEnd"
],
"globalClasses": {},
"name": "MuiDateRangePickerDay"
},
"spread": false,
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/material-ui-lab/src/DateRangePickerDay/DateRangePickerDay.tsx",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export type DateRangePickerDayClassKey =
| 'rangeIntervalDayPreviewStart'
| 'rangeIntervalDayPreviewEnd';

const styles: MuiStyles<DateRangePickerDayClassKey> = (
export const styles: MuiStyles<DateRangePickerDayClassKey> = (
theme,
): StyleRules<DateRangePickerDayClassKey> => ({
root: {
Expand Down

0 comments on commit 9431d4a

Please sign in to comment.