@buysmart-ui/react
v2.8.4
Published
This [`@buysmart-ui/react`](https://www.npmjs.com/package/@buysmart-ui/react) package is the [React](https://react.dev/) version of [Buy Smart UI](../README.md).
Downloads
1,024
Maintainers
Readme
⚒️ Buy Smart UI - React
This @buysmart-ui/react
package is the React version of Buy Smart UI.
How to see available components
Hosted
https://buy-smart-ui.decathlon.net
The library is also hosted thanks to GitHub Pages.
Local
You'll need to have Node.js installed with pnpm.
Execute the following commands:
pnpm i
pnpm run dev
It will open a browser tab with the Storybook (if it don't, go to http://localhost:6006).
Use in your project
npm install @buysmart-ui/react
Usage
import React from 'react';
/* Buy Smart UI */
import { Button } from '@buysmart-ui/react';
const App = () => (
<Button>Click me</Button>
);