UNPKG

phoenix-components-library

Version:

Component library for Phoenix Frontend Projects.

23 lines (13 loc) 522 B
# Select How To Inport Select. ```js import { Select } from "phoenix-components-library"; ``` ### Instructions Use `placeholder` to add a placeholder to input Use `default` to fill the Selected value Use `options` to add options to select Add `includeNone` if you want to have **None** as first option in Select ### Tips > You need to keep select state logic in parent company where you import it and want to use it. > You need to keep strict structure of `option` and `default` props and to follof **propTypes**