@7shifts/sous-chef
TypeScript icon, indicating that this package has built-in type declarations

3.42.1 • Public • Published

@7shifts/sous-chef

The 7shifts component library

NPM BUNDLE-SIZE TREE-SHAKING

Install

yarn add @7shifts/sous-chef

or

npm install --save @7shifts/sous-chef

Usage

import React, { Component } from 'react';

import { DataTable } from '@7shifts/sous-chef';
import '@7shifts/sous-chef/dist/index.css';

class Example extends Component {
    items = [
        {
            employeeName: 'Steve Lawrence',
            date: 'Jun 22, 2019',
            hours: 15
        },
        {
            employeeName: 'Alex Andrade',
            date: 'Jan 15, 2020',
            hours: <span style={{ color: 'red' }}>8</span>
        }
    ];
    render() {
        return <DataTable items={items} />;
    }
}

Documentation

You can find the components documentation in here.

Contributing

Check out our contributing guide.

License

MIT © 7shifts

Readme

Keywords

none

Package Sidebar

Install

npm i @7shifts/sous-chef

Weekly Downloads

1,068

Version

3.42.1

License

MIT

Unpacked Size

5.94 MB

Total Files

795

Last publish

Collaborators

  • jlindenbaum
  • shub_sohi
  • marcushamilton
  • alex.andrade
  • tim-austin-7shifts
  • bransonkp
  • 00_status_7shifts
  • ryan.hoppe
  • raul_7shifts
  • autumn_rayne