This @buysmart-ui/react
package is the React version of Buy Smart UI.
https://buy-smart-ui.decathlon.net
The library is also hosted thanks to GitHub Pages.
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).
npm install @buysmart-ui/react
import React from 'react';
/* Buy Smart UI */
import { Button } from '@buysmart-ui/react';
const App = () => (
<Button>Click me</Button>
);