Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 689 Bytes

README.md

File metadata and controls

50 lines (39 loc) · 689 Bytes

react-native-table

React native table component

Installation

yarn add @pnstack/react-native-table

Usage

<Table
  columns={[
    {
      title: 'id',
      key: 'id',
      dataIndex: 'id',
    },
    {
      title: 'Name',
      key: 'name',
      dataIndex: 'name',
    },
  ]}
  dataSource={[
    {
      id: 1,
      name: 'name 1',
    },
    {
      id: 2,
      name: 'name 2',
    },
  ]}
/>

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library