1.3.1 • Published 10 months ago

@arcteryx/components-table v1.3.1

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

Arc'teryx Tables

Styled, zebra-striped tables. The component offers a styled-wrapper to wrap basic html tables.

Install

npm install --save @arcteryx/components-table

Usage

import { Table } from "@arcteryx/components-table";
<Table>
  <table>
    <tbody>
      <tr>
        <th>Header</th>
      </tr>
      <tr>
        <td>123</td>
      </tr>
    </tbody>
  </table>
</Table>

Content Toggle

The purpose of this component is to switch between cm/inch tables, but it could be used for any content.

It takes an array of options that will be shown as buttons, and selecting these will search the DOM and toggle content accordingly.

import { Table } from "@arcteryx/components-table";

<ContentToggle items={contentToggleItems} name="sizing" default="cm" />

<div class="content--sizing content--cm">stuff</div>
<div class="content--sizing content--inches">other stuff</div>
1.3.1

10 months ago

1.3.0

1 year ago

1.3.0-gamma.0

1 year ago

1.3.0-ts2.0

1 year ago

1.3.0-ts.0

1 year ago

1.3.0-test.0

1 year ago

1.3.0-alpha.0

1 year ago

1.2.1-alpha.0

1 year ago

1.2.0

3 years ago

1.1.6

3 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago