breatheco-de / main-documentation

This repository servers like an aggregator everything that is being developed and publish in breathecode.
7 stars 18 forks source link

Dropdown component #56

Open Omonroy36 opened 3 years ago

Omonroy36 commented 3 years ago

Hrs: 3

Build a Dropdown component for the breathecode interface that looks similar to this one Captura

Using react-select and being able to recieve de following properties

Prop Description
...rest should allow any props native to the react-select library
variant if passed it should change the dropdown background color
placeholder if passed it will set a placeholder in the dropdown bar, default is set to "Select..."
icon if passed as a parameter it will display an icon floating always to the right, as default there will be a arrow icon

@alesanchezr