Skip to content

pnstack/react-native-table

Repository files navigation

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