🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

@zendeskgarden/react-tables

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zendeskgarden/react-tables

Components relating to tables in the Garden Design System

9.6.0
latest
Version published
Weekly downloads
27K
-8.5%
Maintainers
1
Weekly downloads
 
Created

@zendeskgarden/react-tables npm version

This package includes components relating to tables in the Garden Design System.

Installation

npm install @zendeskgarden/react-tables

# Peer Dependencies - Also Required
npm install react react-dom styled-components @zendeskgarden/react-theming

Usage

import { ThemeProvider } from '@zendeskgarden/react-theming';
import { Table } from '@zendeskgarden/react-tables';

/**
 * Place a `ThemeProvider` at the root of your React application
 */
<ThemeProvider>
  <Table>
    <Table.Caption>Your Unsolved Tickets</Table.Caption>
    <Table.Head>
      <Table.HeaderRow>
        <Table.HeaderCell>Subject</Table.HeaderCell>
        <Table.HeaderCell>Requester</Table.HeaderCell>
        <Table.HeaderCell>Requested</Table.HeaderCell>
        <Table.HeaderCell>Type</Table.HeaderCell>
      </Table.HeaderRow>
    </Table.Head>
    <Table.Body>
      <Table.Row>
        <Table.Cell>Where are my shoes?</Table.Cell>
        <Table.Cell>John Smith</Table.Cell>
        <Table.Cell>15 minutes ago</Table.Cell>
        <Table.Cell>Ticket</Table.Cell>
      </Table.Row>
      <Table.Row>
        <Table.Cell>I was charged twice!</Table.Cell>
        <Table.Cell>Jane Doe</Table.Cell>
        <Table.Cell>25 minutes ago</Table.Cell>
        <Table.Cell>Call</Table.Cell>
      </Table.Row>
    </Table.Body>
  </Table>
</ThemeProvider>;

FAQs

Package last updated on 01 May 2025

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