dotkom / design-system

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

Select props typedefining #209

Closed JohanAOstbye closed 3 years ago

JohanAOstbye commented 3 years ago

Checklist

Notes to other people

About the pull request

Moved out the interface of OptiontType Changed options to an array and not a touple corresponding to what react-select expects. ref: https://react-select.com/props

not 100% sure about the changes, but i fixed a bug in my project (i might just be stupid)

...

Screenshots

...