Skip to content

Commit d22670a

Browse files
committed
fix(checkbox): uncontrolled checkboxes in stories
1 parent dfcf209 commit d22670a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎ui-parts/checkbox/stories/checkbox.stories.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ type Story = StoryObj<CheckboxProps>
8484
export const Base: Story = {
8585
name: 'Базовый',
8686
args: {
87-
checked: false,
87+
defaultChecked: true,
8888
labelPosition: 'start',
8989
shape: checkboxShapes.md,
9090
children: 'Checkbox Label',
@@ -94,7 +94,7 @@ export const Base: Story = {
9494
export const Custom: Story = {
9595
name: 'Кастомный',
9696
args: {
97-
checked: true,
97+
defaultChecked: true,
9898
labelPosition: 'end',
9999
shape: checkboxShapes.md,
100100
checkedIcon: '✓',

0 commit comments

Comments
 (0)