Open jeanettw opened 2 years ago
Example of onChange as action but also eventhandler: https://6195b518b76f57003aa69b4c-ynczzfqqyq.chromatic.com/?path=/docs/form-checkboxgroup--default. Github code to this example: https://github.com/phork/phorkit/blob/develop/src/components/Form/Checkbox/stories/CheckboxGroup.stories.tsx
Branch 279-add-actions
Actions do not work on components with functionality in storybook. Example: a component can't have a onChange function and a function for handleOnchange at the same time with our current Storybook implementation.