dragontail-test
TypeScript icon, indicating that this package has built-in type declarations

1.0.30 • Public • Published

Minimum component library built with TailwindCSS and React

Heavily inspired by ChakraUI

Installation

yarn add dragontail

Get Started

Next.js

// pages/_app.tsx
import type { AppProps } from "next/app";
import { DragontailProvider } from "dragontail";

const App = ({ Component, pageProps }: AppProps) => {
  return (
    <DragontailProvider theme="light">
      <Component {...pageProps} />
    </DragontailProvider>
  );
};

export default App;

Create React App

// app.tsx
import { DragontailProvider } from "dragontail";

export const App = () => {
  return (
    <DragontailProvider theme="light">
      <div>...</div>
    </DragontailProvider>
  );
};

Readme

Keywords

none

Package Sidebar

Install

npm i dragontail-test

Weekly Downloads

0

Version

1.0.30

License

MIT

Unpacked Size

74.3 kB

Total Files

48

Last publish

Collaborators

  • dev07