1.0.4-beta • Published 9 months ago

tw-table v1.0.4-beta

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

Summary

...

Installation

  • NPM npm install tw-table

  • YARN yarn add tw-table

Usage

To use the library, start by importing tw-table:

import { TwTable } from 'tw-table';

If you need type definitions from react-table, you can import them as follows:

import { RowSelectionState } from '@tanstack/react-table';

You'll also need to configure Tailwind CSS to generate the necessary styles for this library. To do this, include 'node_modules/tw-table/**/*.{js,ts,jsx,tsx}' in the content array of your tailwind.config.js file.

Your final configuration should look like this:

/** @type {import('tailwindcss').Config} */
export default {
  content: [
    './index.html',
    './src/**/*.{js,ts,jsx,tsx}',
    './node_modules/tw-table/**/*.{js,ts,jsx,tsx}',
  ],
  ...
};

Contribution

...

1.0.4-beta

9 months ago

1.0.3-beta

9 months ago

1.0.2-beta

10 months ago

0.0.1

11 months ago

1.0.0-beta

11 months ago

1.0.1-beta

11 months ago

1.0.0

1 year ago