Skip to content

Commit 6ceee48

Browse files
committed
fixup! feat: ✨ Implémente DsfrButtonGroup
1 parent e2c5e77 commit 6ceee48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/DsfrButton/DsfrButtonGroup.stories.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export const GroupeDeBoutons = (args) => ({
4848
data () {
4949
return {
5050
...args,
51+
buttons: args.buttons.map(btn => ({ ...btn, onClick: args.onClick })),
5152
}
5253
},
5354
template: `
@@ -70,7 +71,7 @@ GroupeDeBoutons.args = {
7071
align: 'center',
7172
inline: false,
7273
reverse: false,
73-
size: 'default',
74+
size: undefined,
7475
buttons: [
7576
{
7677
label: 'Label 1',

0 commit comments

Comments
 (0)