react-vite-component-library
Advanced tools
Comparing version 1.0.30 to 1.0.31
@@ -11,4 +11,7 @@ import { ButtonThemes, AppDialogVariant } from './types/enums'; | ||
export const AppTextBox: (props: ITextBoxProps) => JSX.Element; | ||
export const Eye: () => JSX.Element; | ||
export const TailessArrow: () => JSX.Element; | ||
export const Eye: ({ color?: string }) => JSX.Element; | ||
export const TailessArrow: ({ | ||
customStroke?: string; | ||
customClass?: string; | ||
}) => JSX.Element; | ||
@@ -15,0 +18,0 @@ export { |
@@ -16,3 +16,3 @@ { | ||
}, | ||
"version": "1.0.30", | ||
"version": "1.0.31", | ||
"type": "module", | ||
@@ -19,0 +19,0 @@ "files": [ |
@@ -10,8 +10,9 @@ # This is a template to create React Components Library | ||
StoryBook 7 | ||
## Project setup | ||
Please follow below mentioned step to run this project: | ||
- Clone the repo | ||
```shell | ||
@@ -22,2 +23,3 @@ https://github.com/shubhadip/react-vite-component-library | ||
### Install | ||
``` | ||
@@ -28,2 +30,3 @@ npm install | ||
### storybook Development | ||
``` | ||
@@ -34,2 +37,3 @@ npm run storybook | ||
### Build Library | ||
``` | ||
@@ -40,2 +44,3 @@ yarn build | ||
### Run Playwright Tests | ||
``` | ||
@@ -45,12 +50,22 @@ npm run test | ||
## Import css | ||
## Usage Of Components Built | ||
**As Component** | ||
``` | ||
import { Component } from 'react-vite-component-library'; | ||
... | ||
components:{ | ||
Component | ||
} | ||
@import "node_modules/react-vite-component-library/dist/index.css"; | ||
``` | ||
## Usage Of Components | ||
import { Component } from 'react-vite-component-library'; | ||
... | ||
<Component /> | ||
``` | ||
``` | ||
``` | ||
``` |
@@ -11,4 +11,7 @@ import { ButtonThemes, AppDialogVariant } from './types/enums'; | ||
export const AppTextBox: (props: ITextBoxProps) => JSX.Element; | ||
export const Eye: () => JSX.Element; | ||
export const TailessArrow: () => JSX.Element; | ||
export const Eye: ({ color?: string }) => JSX.Element; | ||
export const TailessArrow: ({ | ||
customStroke?: string; | ||
customClass?: string; | ||
}) => JSX.Element; | ||
@@ -15,0 +18,0 @@ export { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
122733
3667
66