-
Notifications
You must be signed in to change notification settings - Fork 12
Using the Components Through Package
BhakareAbhishek edited this page Jul 15, 2024
·
9 revisions
Pre-Requirements:
- Node v16 or v18 should be installed.
- Yarn v1.20+ (not v2)^1 or npm v6+ (already installed with Node).
- The Project you are using should be of Vite.
npm i @waiin/raaghu-react
- You can visit the link for more info about the package @waiin/raaghu-react
- Once the package is install you need to import it into your main.ts file.
import '@waiin/raaghu-react-themes/build/styles/default.css'
- First we need to import it inside our file:
for example :
import {RdsButton} from "@waiin/raaghu-react";

- First import it inside our component and then we can use it.
- How to Use it inside the component :

- Through Above Image you can see how to use.
