ui-component-lib-react-vite
v1.0.7
Published
## Install First install ```tsx npm i ui-component-lib-react-vite ``` In one of your main application files import the theme, like this:
Downloads
12
Readme
React + TypeScript + Vite
Install
First install
npm i ui-component-lib-react-vite
In one of your main application files import the theme, like this:
import 'ui-component-lib-react-vite/theme'
Then use Prime React's Components.
import 'ui-component-lib-react-vite/theme'
import { Button } from 'primereact/button'
function App() {
return (
<>
<Button label="Primary" raised />
<Button label="Secondary" severity="secondary" raised />
<Button label="Success" severity="success" raised />
<Button label="Info" severity="info" raised />
<Button label="Warning" severity="warning" raised />
<Button label="Help" severity="help" raised />
<Button label="Danger" severity="danger" raised />
<Button label="Secondary" severity="secondary" rounded />
</>
)
}
export default App