Skip to content

Commit

Permalink
fix: broken types in DatePicker story
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinGhadyani-Okta committed Oct 25, 2022
1 parent aca12b2 commit 37f33c6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { OutlinedInput, OutlinedInputProps } from "@okta/odyssey-react-mui";
import {
AdapterDateFns,
DatePicker,
DatePickerProps,
LocalizationProvider,
} from "@okta/odyssey-react-labs";
import { MuiThemeDecorator } from "../../../../.storybook/components/MuiThemeDecorator";
Expand Down Expand Up @@ -62,7 +63,7 @@ export default {
decorators: [MuiThemeDecorator],
};

const Template: Story = (props) => (
const Template: Story<DatePickerProps<unknown, unknown>> = (props) => (
<LocalizationProvider dateAdapter={AdapterDateFns}>
<DatePicker {...props} />
</LocalizationProvider>
Expand Down

0 comments on commit 37f33c6

Please sign in to comment.