react-vite-component-library
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -11,4 +11,4 @@ import { ButtonThemes, AppDialogVariant } from './types/enums'; | ||
export const AppTextBox: (props: ITextBoxProps) => JSX.Element; | ||
export const Eye: ({ color?: string }) => JSX.Element; | ||
export const TailessArrow: ({ | ||
export const Eye: ({ color }: { color?: string }) => JSX.Element; | ||
export const TailessArrow: ({ customClass, customStroke }: { | ||
customStroke?: string; | ||
@@ -15,0 +15,0 @@ customClass?: string; |
@@ -16,3 +16,3 @@ { | ||
}, | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"type": "module", | ||
@@ -19,0 +19,0 @@ "files": [ |
@@ -36,3 +36,3 @@ # This is a template to create React Components Library | ||
``` | ||
yarn build | ||
npm run build | ||
``` | ||
@@ -46,14 +46,14 @@ | ||
## Import css | ||
## Usage Of Components | ||
``` | ||
@import "node_modules/react-vite-component-library/dist/index.css"; | ||
import { AppButton } from 'react-vite-component-library/appbutton' | ||
``` | ||
... | ||
<Component /> | ||
... | ||
## Usage Of Components | ||
## Usage Of Utilities & Types | ||
import { Component } from 'react-vite-component-library'; | ||
... | ||
<Component /> | ||
import { ButtonThemes } from 'react-vite-component-library' | ||
... | ||
@@ -60,0 +60,0 @@ |
@@ -11,4 +11,4 @@ import { ButtonThemes, AppDialogVariant } from './types/enums'; | ||
export const AppTextBox: (props: ITextBoxProps) => JSX.Element; | ||
export const Eye: ({ color?: string }) => JSX.Element; | ||
export const TailessArrow: ({ | ||
export const Eye: ({ color }: { color?: string }) => JSX.Element; | ||
export const TailessArrow: ({ customClass, customStroke }: { | ||
customStroke?: string; | ||
@@ -15,0 +15,0 @@ customClass?: string; |
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
145446