@klevu/ui-react
v2.5.2
Published
Klevu UI components for React
Downloads
202
Readme
@klevu/ui-react
The @klevu/ui-react package is a transpiled version of @klevu/ui for use with React. It provides the same set of UI components as @klevu/ui, but there is little bit of code make them directly compatible with React.
Read more and learn: https://webcomponents.klevu.com
Installation
To install @klevu/ui-react, you can use npm or yarn:
npm install @klevu/ui-react
yarn add @klevu/ui-react
Usage
Once you have installed @klevu/ui-react, you can import the components you need and use them in your React application:
import { KlevuButton } from "@klevu/ui-react"
function App() {
return (
<div>
<KlevuButton>Click me</KlevuButton>
</div>
)
}
Contributing
If you would like to contribute to @klevu/ui, please follow these steps:
- Fork the repository.
- Create a new branch for your changes.
- Make your changes and commit them with a descriptive message.
- Push your changes to your fork.
- Create a pull request.