UNPKG

phoenix-components-library

Version:

Component library for Phoenix Frontend Projects.

24 lines (13 loc) 425 B
# Input How To Inport Input. ```js import { Input } from "phoenix-components-library"; ``` <!-- STORY --> ### Instructions Use `placeholder` to add a placeholder to input Use `value` to fill the input value If you need a custom class for styling add a `class` Change type of input by `type` props ### Tips > you need to keep state change of input value inside parent component in which you will use input component