@chintai/ui

Contains common styling, UI components and react hooks.

Usage no npm install needed!

<script type="module">
  import chintaiUi from 'https://cdn.skypack.dev/@chintai/ui';
</script>

README

npm-ui

A npm package that contains common styling, UI components and react hooks.

Setup demo server

# Inside of npm-ui
npm run build
sudo npm link
mkdir ../demo
cd ../demo
npx create-react-app . --template typescript
npm link @chintai/ui
cd node_modules/react/
sudo npm link
cd ../react-dom/
sudo npm link
cd ../../../npm-ui/
npm link react react-dom
cd ../demo/
echo "" > src/App.css
# Test components by rendering them in the App.tsx
npm run dev