dotkom / design-system

Component library, maybe
https://design.online.ntnu.no
MIT License
4 stars 4 forks source link

Radio-buttons v2 #183

Closed FluidSense closed 4 years ago

FluidSense commented 4 years ago

Checklist

About the pull request

Radio buttons' value were only retrievable through a form-submit. This change allows for radio buttons' value to be retrieved through an onChange-function.

It also allows for React-elements to be set as labels.

It also adds support for a default selected value. This is useful when displaying a form that the user has already submitted, but may still update.

FluidSense commented 4 years ago

Props-table are no longer displayed, but should be fixed by upgrading to Storybook v6. https://github.com/storybookjs/storybook/issues/9575 https://github.com/storybookjs/storybook/issues/9922

github-actions[bot] commented 4 years ago

:tada: This PR is included in version 0.19.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: