@s-ui/react-atom-table

Atom Table to show tabular information.

Usage no npm install needed!

<script type="module">
  import sUiReactAtomTable from 'https://cdn.skypack.dev/@s-ui/react-atom-table';
</script>

README

AtomTable

Atom Table to show tabular information.

Atom Table

Installation

$ npm install @s-ui/react-atom-table --save

Usage

Basic usage

CSS

@import '@s-ui/react-atom-table/lib/index';

Javascript

import AtomTable from '@s-ui/react-atom-table'

const contentHead = [
  'Versión',
  'Año',
  'Combustible',
  'Potencia',
  'Precio',
  ''
]

const contentBody = [
  [
    {
      content: 'Volkswagen Golf Edition 1.0 TSI 85kW',
      type: 'th',
      isNowrap: true
    },
    {content: '2019'},
    {content: 'Gasolina'},
    {content: '115vc'},
    {content: 'Desde 24.000€'},
    {content: 'Más información'}
  ],
  [
    {
      content: 'Volkswagen Golf Edition 1.0 TSI 85kW',
      type: 'th',
      isNowrap: true
    },
    {content: '2019'},
    {content: 'Gasolina'},
    {content: '115vc'},
    {content: 'Desde 24.000€'},
    {content: 'Más información'}
  ]
]

return <AtomTable head={contentHead} body={contentBody} />


> **Find full description and more examples in the [demo page](#).**