Skip to content

Commit

Permalink
fix 2024-07-09-controlled-components-in-storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
yuheiy committed Jul 13, 2024
1 parent 54f4f72 commit e40e1fe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ import { ReactNode, useCallback } from 'react';
import { useControlledState } from '@react-stately/utils';

export interface ToggleButtonProps {
isSelected?: boolean;
defaultSelected?: boolean;
isSelected?: boolean | undefined;
defaultSelected?: boolean | undefined;
children?: ReactNode | undefined;
onChange?: ((isSelected: boolean) => void) | undefined;
}
Expand Down

0 comments on commit e40e1fe

Please sign in to comment.