Skip to content

Commit

Permalink
fix: toggle group root options
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoid authored Aug 29, 2024
1 parent 365b34e commit 85f5bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/toggle-group/toggle-group-root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface ToggleGroupSingleOptions {
defaultValue?: string;

/** Event handler called when the value changes. */
onChange?: (value: string) => void;
onChange?: (value: string | null) => void;

/** Whether the toggle group allow multiple selection. */
multiple?: false;
Expand Down

0 comments on commit 85f5bdc

Please sign in to comment.