@poppy-ui/react
v0.5.6
Published
React specific wrapper for @poppy-ui/core
Downloads
11
Readme
Poppy UI integration for React apps.
Install
npm install @poppy-ui/reactif the command fails, check the section how to use in the root readme
Configuration
The configuration is minimal and easy The configuration is minimal and easy
// main.ts
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import './index.css';
import App from './App.tsx';
import poppyReact from '@poppy-ui/react';
import '@poppy-ui/react/css/core.css';
import '@poppy-ui/react/css/themes/light.always.css';
poppyReact();
createRoot(document.getElementById('root')).render(
<StrictMode>
<App />
</StrictMode>,
);And your done, happy coding 🎉
Contributing
See our Contributing Guide.
