🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@arcteryx/components-table

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcteryx/components-table

Arcteryx data table

latest
npmnpm
Version
1.3.1
Version published
Maintainers
0
Created
Source

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>

FAQs

Package last updated on 03 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts