0.0.44 • Published 9 months ago

@rttui/skin-tailwind v0.0.44

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

9 months ago

0.0.43

9 months ago

0.0.42

9 months ago

0.0.41

10 months ago

0.0.40

10 months ago

0.0.39

10 months ago

0.0.38

10 months ago

0.0.37

10 months ago

0.0.36

10 months ago

0.0.35

10 months ago

0.0.34

10 months ago

0.0.33

10 months ago

0.0.32

10 months ago

0.0.31

10 months ago

0.0.30

10 months ago

0.0.29

10 months ago

0.0.28

10 months ago

0.0.27

10 months ago

0.0.26

10 months ago

0.0.25

10 months ago

0.0.24

10 months ago

0.0.23

10 months ago

0.0.22

11 months ago

0.0.21

11 months ago

0.0.20

11 months ago

0.0.19

11 months ago

0.0.18

11 months ago

0.0.17

11 months ago

0.0.16

11 months ago

0.0.15

11 months ago

0.0.14

11 months ago

0.0.13

11 months ago

0.0.12

11 months ago

0.0.11

11 months ago

0.0.10

11 months ago

0.0.9

11 months ago

0.0.8

11 months ago

0.0.7

11 months ago

0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago