Skip to content

Commit

Permalink
docs(calendar): move calendar stories and rename Basic story (#2607)
Browse files Browse the repository at this point in the history
Move Calendar component stories out of Datepicker in the Storybook navigation. Rename Default story
to Basic.
  • Loading branch information
whitelisab committed Nov 10, 2023
1 parent b8d30cf commit ab375fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/datepicker/stories/Calendar.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ const testDate = new Date('2022-04-15');

export default {
component: Calendar,
title: 'Components/Datepicker/Calendar',
title: 'Components/Calendar',
} as Meta;

export const Default: Story<CalendarProps> = (args) => {
export const Basic: Story<CalendarProps> = (args) => {
const [selectedDay, setSelectedDay] = useState<Date>(testDate);

return (
Expand Down

1 comment on commit ab375fa

@vercel
Copy link

@vercel vercel bot commented on ab375fa Nov 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.