code-kotis/react-floating-label

How to use?

Closed this issue · 3 comments

Not sure how to use this from the example provided.

For example how do I use it in the context of an input and where do I insert the label text?

Hi @jonathanphz sure. Check below example

<FloatingLabel
   type="text" // All valid input types are accecpted
   placeholder="Enter the full name" // This is the label name
/>

Check Props section for all the available props for FloatingLabel. Let me know if this didn't answers your question. Thanks

Hey @gokulkrishh thanks very much man - appreciate it!

@jonathanphz Closing this issue. As its addressed in above comment.