0.0.44 • Published 5 months ago

@rttui/skin-tailwind v0.0.44

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Virtualized Table - Tailwind Skin

This package provides a Tailwind CSS styled skin for the @rttui/core virtualized table.

Dependencies

  • @rttui/core: The core table logic.
  • react (peer)
  • react-dom (peer)
  • tailwindcss (peer - required in your project for styles to apply)

Ensure peer dependencies are installed and Tailwind CSS is configured in your project.

Setup

npm install @rttui/skin-tailwind @rttui/core react react-dom tailwindcss
# or
yarn add @rttui/skin-tailwind @rttui/core react react-dom tailwindcss

Make sure your tailwind.config.js includes the components from this package in its content array:

// tailwind.config.js
module.exports = {
  content: [
    // ... other paths ...
    './node_modules/@rttui/skin-tailwind/src/**/*.{js,ts,jsx,tsx}',
  ],
  // ... other config ...
};

Usage

Import the TailwindSkin object and pass it to the VirtualizedTable component:

import { VirtualizedTable } from '@rttui/core';
import { TailwindSkin } from '@rttui/skin-tailwind';

// ... component setup ...

<VirtualizedTable
  {/* ... other props ... */}
  skin={TailwindSkin}
/>

Exported Components

The following components are exported:

  • TailwindSkin: The main skin object to pass to the table.
  • CellAvatar
  • CellAvatarWithText
  • CellNumber
  • CellTag
  • CellText
  • Resizer
  • HeaderPinButtons
  • ExpandButton
  • RowPinButtons
  • Checkbox
  • CellTextBold
  • CellCurrency
  • CellBadge
  • Cell
  • CellLink
  • CellPercent
  • darkModeVars: CSS variable definitions for dark mode.
  • lightModeVars: CSS variable definitions for light mode.
0.0.44

5 months ago

0.0.43

5 months ago

0.0.42

5 months ago

0.0.41

6 months ago

0.0.40

6 months ago

0.0.39

6 months ago

0.0.38

6 months ago

0.0.37

6 months ago

0.0.36

6 months ago

0.0.35

6 months ago

0.0.34

6 months ago

0.0.33

6 months ago

0.0.32

6 months ago

0.0.31

7 months ago

0.0.30

7 months ago

0.0.29

7 months ago

0.0.28

7 months ago

0.0.27

7 months ago

0.0.26

7 months ago

0.0.25

7 months ago

0.0.24

7 months ago

0.0.23

7 months ago

0.0.22

7 months ago

0.0.21

7 months ago

0.0.20

7 months ago

0.0.19

7 months ago

0.0.18

7 months ago

0.0.17

7 months ago

0.0.16

7 months ago

0.0.15

7 months ago

0.0.14

7 months ago

0.0.13

7 months ago

0.0.12

7 months ago

0.0.11

7 months ago

0.0.10

7 months ago

0.0.9

7 months ago

0.0.8

7 months ago

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago