sensiolabs / StorybookBundle

MIT License
41 stars 5 forks source link

[Actions] Cannot bind multiple actions to the same element #16

Closed squrious closed 6 months ago

squrious commented 6 months ago

The following story doesn't work:

export default {
    component: Toggle,
    args: {
        'toggle:enable': fn(),
        'toggle:disable': fn(),
    }
};

Because each action is converted to a data-storybook-action attribute that cannot be repeated.