Skip to content

Using the Components Through Package

BhakareAbhishek edited this page Jul 15, 2024 · 9 revisions

Using Package

Pre-Requirements:

Install Theme NPM Package

npm i @waiin/raaghu-react

Import Into main.ts for adding raaghu-react-theme

  • Once the package is install you need to import it into your main.ts file.
import '@waiin/raaghu-react-themes/build/styles/default.css'

How to Use ?

  • First we need to import it inside our file:

for example :

import {RdsButton} from "@waiin/raaghu-react";

image

  • First import it inside our component and then we can use it.
  • How to Use it inside the component : image
  • Through Above Image you can see how to use.

Below is the image that show you the how to import and use it.

image

Clone this wiki locally