Skip to content

Commit

Permalink
update value
Browse files Browse the repository at this point in the history
  • Loading branch information
dcantatore committed Jun 10, 2024
1 parent 66a5837 commit 2f63c6a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Repeat/RepeatDaily.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ const Template: StoryFn<typeof RepeatDaily> = (args) => <RepeatDaily {...args} /

export const Primary = Template.bind({});
Primary.args = {
defaultValue: { interval: 1 },
value: { interval: 1 },
onChange: (value) => console.log(value),
};
2 changes: 1 addition & 1 deletion src/components/Repeat/RepeatHourly.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ const Template: StoryFn<typeof RepeatHourly> = (args) => <RepeatHourly {...args}

export const Primary = Template.bind({});
Primary.args = {
defaultValue: { interval: 1 },
value: { interval: 1 },
onChange: (value) => console.log(value),
};
2 changes: 1 addition & 1 deletion src/components/Repeat/RepeatMonthly.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Template: StoryFn<typeof RepeatMonthly> = (args) => <RepeatMonthly {...arg

export const Primary = Template.bind({});
Primary.args = {
defaultValue: {
value: {
interval: 1,
byDay: [],
byMonthDay: [],
Expand Down
2 changes: 1 addition & 1 deletion src/components/Repeat/RepeatWeekly.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Template: StoryFn<typeof RepeatWeekly> = (args) => <RepeatWeekly {...args}

export const Primary = Template.bind({});
Primary.args = {
defaultValue: {
value: {
interval: 1,
byDay: [],
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/Repeat/RepeatYearly.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Template: StoryFn<typeof RepeatYearly> = (args) => <RepeatYearly {...args}
export const Primary = Template.bind({});
Primary.args = {
// @ts-ignore
defaultValue: {
value: {
byDay: [],
byMonthDay: [],
bySetPos: [],
Expand Down

0 comments on commit 2f63c6a

Please sign in to comment.