1.0.3 • Published 2 years ago

@nixtus/react-flextable v1.0.3

Weekly downloads
142
License
MIT
Repository
github
Last release
2 years ago

React Flex Table

Build Stats dependencies Status devDependencies Status peerDependencies Status License: MIT

Features

  • ES6/ESNext - Write ES6 code and Babel will transpile it to ES5 for backwards compatibility
  • Test - Jest
  • Lint - Preconfigured ESlint with Airbnb config
  • Minify - Built code will be not be minified, this allows for easier testability in your application. Make sure to minify your application for best performance.
  • Styled Components - Built using styled components with flexibility to allow you to customize them to meet your needs. Just pass styles and classes as normal props.
  • React Hooks - Built using react hooks.

Components

  • <FlexTable> - Outer table container
  • <FlexHeader> - Acts like a row but removes row clickable events and adds header styling by default
  • <FlexFooter> - Acts like a row but removes row clickable events
  • <FlexRow> - Table Row container
  • <FlexItem> - Table item container
  • <FlexItemExpand> - Same as 'FlexItem' but is hidden by default until expanded (done so by clicking on any FlexRow item)

Example

<FlexTable>
  <FlexHeader>
    <FlexItem>
      ID
    </FlexItem>
    <FlexItem>
      Company
    </FlexItem>
  </FlexHeader>

  <FlexRow>
    <FlexItem>
      fd3gt-1der
    </FlexItem>
    <FlexItem>
      Nixtus
    </FlexItem>
    <FlexItemExpand>
      <!-- THIS WILL BE HIDDEN BY DEFAULT, THEN EXPANDED VISIBLE WHEN FlexRow IS CLICKED -->
      <h1>Company Details</h1>
    </FlexItemExpand>
  </FlexRow>

  <FlexFooter>
    <FlexItem>
      $copy; Nixtus
    </FlexItem>
  </FlexFooter>
</FlexTable>

License

MIT © Andrew Ninneman MIT © Nixtus LLC

1.0.3

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago