0.0.44 • Published 6 months ago

@rttui/skin-tailwind v0.0.44

Weekly downloads
-
License
MIT
Repository
github
Last release
6 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

6 months ago

0.0.43

6 months ago

0.0.42

6 months ago

0.0.41

7 months ago

0.0.40

7 months ago

0.0.39

7 months ago

0.0.38

7 months ago

0.0.37

7 months ago

0.0.36

7 months ago

0.0.35

7 months ago

0.0.34

7 months ago

0.0.33

7 months ago

0.0.32

8 months ago

0.0.31

8 months ago

0.0.30

8 months ago

0.0.29

8 months ago

0.0.28

8 months ago

0.0.27

8 months ago

0.0.26

8 months ago

0.0.25

8 months ago

0.0.24

8 months ago

0.0.23

8 months ago

0.0.22

8 months ago

0.0.21

8 months ago

0.0.20

8 months ago

0.0.19

8 months ago

0.0.18

8 months ago

0.0.17

8 months ago

0.0.16

8 months ago

0.0.15

8 months ago

0.0.14

8 months ago

0.0.13

8 months ago

0.0.12

8 months ago

0.0.11

8 months ago

0.0.10

8 months ago

0.0.9

8 months ago

0.0.8

8 months ago

0.0.7

8 months ago

0.0.6

8 months ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago