1.3.1 • Published 2 years ago

@gmana/react-tw v1.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

GMana React Tailwind

The component library for fast and accessible development of gorgeous interfaces.

🚀 Usage

Install

npm i @gmana/react-tw


npm i -D clsx deepmerge @tailwindcss/forms

Inside tailwind.config.js

const gmana = require('@gmana/react-tw/config');
module.exports = gmana({
  purge: [],
  theme: {
    extend: {},
  },
  variants: {},
  plugins: [],
});

Then place gmana at the root of your project (the order doesn't matter, as long as your application is inside).

// index.js
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import { GMana } from '@gmana/react-tw';

ReactDOM.render(
  <GMana>
    <App />
  </GMana>,
  document.getElementById('root')
);

Use components inside your project

import { Button } from '@gmana/react-tw';

function App() {
  return <Button>Hi there!</Button>;
}

export default App;
1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.1.2

2 years ago

1.0.0

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.1

3 years ago