From bb4e2fa7a752ea90a03c88dd8a0c829fff94e9dc Mon Sep 17 00:00:00 2001 From: Mayank <9084735+mayank99@users.noreply.github.com> Date: Thu, 16 Mar 2023 17:25:36 -0400 Subject: [PATCH] typos --- .changeset/little-seahorses-tan.md | 2 +- apps/storybook/src/DatePicker.stories.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.changeset/little-seahorses-tan.md b/.changeset/little-seahorses-tan.md index e2d3509777b..3cf6ab0238f 100644 --- a/.changeset/little-seahorses-tan.md +++ b/.changeset/little-seahorses-tan.md @@ -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. diff --git a/apps/storybook/src/DatePicker.stories.tsx b/apps/storybook/src/DatePicker.stories.tsx index be68c9c0675..12a8674a88f 100644 --- a/apps/storybook/src/DatePicker.stories.tsx +++ b/apps/storybook/src/DatePicker.stories.tsx @@ -345,7 +345,6 @@ export const SomeDatesDisabled: Story = (args) => { }; const onChange = (startDate: Date, endDate?: Date) => { - action('yo')(); setCurrentStartDate(startDate); endDate && setCurrentEndDate(endDate); };