Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank99 committed Mar 16, 2023
1 parent 3f580a2 commit bb4e2fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .changeset/little-seahorses-tan.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'@itwin/itwinui-react': minor
---

Added new `isDateDisabled` prop to DatePicker. Accepts a function which takes a date and returns a boolean to indicate whether that date is selectable.
Added new `isDateDisabled` prop to DatePicker. Accepts a function which takes a date and returns a boolean to indicate whether that date is not selectable.
1 change: 0 additions & 1 deletion apps/storybook/src/DatePicker.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ export const SomeDatesDisabled: Story<DatePickerProps> = (args) => {
};

const onChange = (startDate: Date, endDate?: Date) => {
action('yo')();
setCurrentStartDate(startDate);
endDate && setCurrentEndDate(endDate);
};
Expand Down

0 comments on commit bb4e2fa

Please sign in to comment.