Skip to content

Commit

Permalink
Update @navikt/core/react/src/toggle-group/ToggleGroup.stories.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh authored Jun 20, 2024
1 parent bb45e0a commit 08dfc69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions @navikt/core/react/src/toggle-group/ToggleGroup.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ export const Default = (props) => {
size={props.size}
variant={props.variant}
value={activeValue}
onChange={(v) => {
setActiveValue(v);
console.log(v);
onChange={(value) => {
setActiveValue(value);
console.log(value);
}}
label={props.label ? "Proident minim dolor pariatur." : undefined}
>
Expand Down

0 comments on commit 08dfc69

Please sign in to comment.