1.0.14 • Published 11 months ago

dajr-valentin-p14-new v1.0.14

Weekly downloads
-
License
-
Repository
-
Last release
11 months ago

React/TypeScript Table component

Features

  • Display a Table component
  • Choose how much entries you want to display
  • Handle pagination
  • A search bar to select a specific entry (or a specific group of entries)

How to use

Required

  • Node: 18.16.0
  • Typescript: ^5.2.2
  • React: ^18.3.1

Install

npm install dajr-valentin-p14-new

Use it as React component

import { Table } from 'dajr-valentin-p14-new';

Inject your data in props

<Table data={data} categories={categories} />

Format for your data

data = [
  {
    firstName: "string",
    lastName: "string",
    ...
  },
  {
    firstName: "string",
    lastName: "string",
    ...
  },
  {
    ...
  }
]

...

categories = ["firstName", "lastName", ...]
1.0.9

11 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.14

11 months ago

1.0.13

11 months ago

1.0.12

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago