@poppy-ui/react
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

Poppy

Poppy UI - React

Poppy UI integration for React apps.

Install

npm install @poppy-ui/react

if 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 { setupPoppyReact } from '@poppy-ui/react';
import '@poppy-ui/react/css/core.css';
import '@poppy-ui/react/css/themes/light.always.css';

setupPoppyReact();

createRoot(document.getElementById('root')).render(
  <StrictMode>
    <App />
  </StrictMode>,
);

And your done, happy coding 🎉

Contributing

See our Contributing Guide.

Readme

Keywords

none

Package Sidebar

Install

npm i @poppy-ui/react

Weekly Downloads

1

Version

0.5.0

License

MIT

Unpacked Size

144 kB

Total Files

33

Last publish

Collaborators

  • sukaato