YUVA: A Component Based React Library

I started developing my first React Based Library, which is by now, is just a side project.

You can consider this series, as the progress of YUVA, as a library, which I will keep updating in this series, every week.

Current Status of the P…


This content originally appeared on DEV Community and was authored by Manas Mishra

I started developing my first React Based Library, which is by now, is just a side project.

You can consider this series, as the progress of YUVA, as a library, which I will keep updating in this series, every week.

Current Status of the Project

  1. Created a Button component, in which you can pass title and type prop. title: You can pass title as a prop get text inside the button.
<Button title="Yuva" />

which will be shown like the below button

Button title

type: If you need, eithher primary button, or ghost button, info buttons etc. You just have to pass type as a prop, and then you can call any type of pre-defined button.

<Button type="primary" title="Manas" />
<Button type="success" title="Manas" />
<Button type="warning" title="Manas" />
<Button type="danger" title="Manas" />
<Button type="info" title="Manas" />
<Button type="text" title="Manas" />
<Button type="ghost" title="Manas" />
<Button type="raised" title="Manas" />

Button types

Only this is being done by now, and planning to increase more functionality in the Button prop.


This content originally appeared on DEV Community and was authored by Manas Mishra


Print Share Comment Cite Upload Translate Updates
APA

Manas Mishra | Sciencx (2022-01-28T10:16:22+00:00) YUVA: A Component Based React Library. Retrieved from https://www.scien.cx/2022/01/28/yuva-a-component-based-react-library/

MLA
" » YUVA: A Component Based React Library." Manas Mishra | Sciencx - Friday January 28, 2022, https://www.scien.cx/2022/01/28/yuva-a-component-based-react-library/
HARVARD
Manas Mishra | Sciencx Friday January 28, 2022 » YUVA: A Component Based React Library., viewed ,<https://www.scien.cx/2022/01/28/yuva-a-component-based-react-library/>
VANCOUVER
Manas Mishra | Sciencx - » YUVA: A Component Based React Library. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/01/28/yuva-a-component-based-react-library/
CHICAGO
" » YUVA: A Component Based React Library." Manas Mishra | Sciencx - Accessed . https://www.scien.cx/2022/01/28/yuva-a-component-based-react-library/
IEEE
" » YUVA: A Component Based React Library." Manas Mishra | Sciencx [Online]. Available: https://www.scien.cx/2022/01/28/yuva-a-component-based-react-library/. [Accessed: ]
rf:citation
» YUVA: A Component Based React Library | Manas Mishra | Sciencx | https://www.scien.cx/2022/01/28/yuva-a-component-based-react-library/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.