Skip to content

Commit

Permalink
fix: adjusted DatePicker story with correct theme
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinGhadyani-Okta committed Jan 6, 2023
1 parent 080ac14 commit ddfc00b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import {
AdapterDateFns,
DatePicker,
DatePickerProps,
datePickerTheme,
LocalizationProvider,
labsTheme,
} from "@okta/odyssey-react-labs";

import DatePickerMdx from "./DatePicker.mdx";
Expand Down Expand Up @@ -76,7 +76,7 @@ const Template: Story<DatePickerProps<unknown, unknown>> = (props) => {
};

return (
<OdysseyThemeProvider customTheme={labsTheme}>
<OdysseyThemeProvider customTheme={datePickerTheme}>
<LocalizationProvider dateAdapter={AdapterDateFns}>
<DatePicker {...datePickerProps} />
</LocalizationProvider>
Expand Down

0 comments on commit ddfc00b

Please sign in to comment.