1.0.14 • Published 1 year ago

dajr-valentin-p14-new v1.0.14

Weekly downloads
-
License
-
Repository
-
Last release
1 year 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

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago