{"id":17700819,"url":"https://github.com/wrathchaos/react-native-premium-table","last_synced_at":"2025-07-20T21:36:26.685Z","repository":{"id":57688635,"uuid":"471812579","full_name":"WrathChaos/react-native-premium-table","owner":"WrathChaos","description":"Fully customizable, easy to use premium table for React Native","archived":false,"fork":false,"pushed_at":"2022-10-01T19:48:16.000Z","size":1760,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-13T03:59:32.292Z","etag":null,"topics":["premium","react","react-native"],"latest_commit_sha":null,"homepage":"https://freakycoder.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WrathChaos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-19T21:06:38.000Z","updated_at":"2024-03-27T15:49:52.000Z","dependencies_parsed_at":"2022-08-25T18:20:32.404Z","dependency_job_id":null,"html_url":"https://github.com/WrathChaos/react-native-premium-table","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":"WrathChaos/react-native-typescript-library-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-premium-table","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-premium-table/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-premium-table/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-premium-table/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WrathChaos","download_url":"https://codeload.github.com/WrathChaos/react-native-premium-table/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253870860,"owners_count":21976612,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["premium","react","react-native"],"created_at":"2024-10-24T17:43:18.448Z","updated_at":"2025-05-13T03:59:39.558Z","avatar_url":"https://github.com/WrathChaos.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg alt=\"React Native Premium Table\" src=\"assets/logo.png\" width=\"1050\"/\u003e\n\n[![Battle Tested ✅](https://img.shields.io/badge/-Battle--Tested%20%E2%9C%85-03666e?style=for-the-badge)](https://github.com/WrathChaos/react-native-premium-table)\n\n[![React Native Premium Table](https://img.shields.io/badge/-Fully%20customizable%2C%20easy%20to%20use%20premium%20table%20for%20React%20Native-orange?style=for-the-badge)](https://github.com/WrathChaos/react-native-premium-table)\n\n[![npm version](https://img.shields.io/npm/v/react-native-premium-table.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-premium-table)\n[![npm](https://img.shields.io/npm/dt/react-native-premium-table.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-premium-table)\n![Platform - Android and iOS](https://img.shields.io/badge/platform-Android%20%7C%20iOS-blue.svg?style=for-the-badge)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=for-the-badge)](https://github.com/prettier/prettier)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"React Native Premium Table\"\n        src=\"assets/Screenshots/react-native-premium-table.png\" height=\"850\" /\u003e\n\u003c/p\u003e\n\n# Installation\n\nAdd the dependency:\n\n```bash\nnpm i react-native-premium-table\n```\n\n## Peer Dependencies\n\n\u003ch5\u003e\u003ci\u003eIMPORTANT! You need install them\u003c/i\u003e\u003c/h5\u003e\n\n```js\n\"react-native-easy-grid\": \"\u003e= 0.2.2\"\n```\n\n# Usage\n\n## Import\n\n```jsx\nimport PremiumTable, { Item } from \"react-native-premium-table\";\n```\n\n## Fundamental Usage\n\n```jsx\n\u003cPremiumTable data={mockData} /\u003e\n```\n\n## Data Format\n\n```js\nconst mockData = [\n  {\n    name: \"Data Sync\",\n    isBasic: true,\n    isPremium: true,\n  },\n  {\n    name: \"Offline Usage\",\n    isBasic: true,\n    isPremium: true,\n  },\n  {\n    name: \"Share with Friends\",\n    isBasic: true,\n    isPremium: true,\n  },\n  {\n    name: \"Unlimited Items\",\n    isBasic: false,\n    isPremium: true,\n  },\n  {\n    name: \"Unlimited Lists\",\n    isBasic: false,\n    isPremium: true,\n  },\n  {\n    name: \"Insight\",\n    isBasic: false,\n    isPremium: true,\n  },\n  {\n    name: \"Custom App Icons\",\n    isBasic: false,\n    isPremium: true,\n  },\n  {\n    name: \"Historical Access\",\n    isBasic: false,\n    isPremium: true,\n  },\n  {\n    name: \"Priority Support\",\n    isBasic: false,\n    isPremium: true,\n  },\n];\n```\n\n## Example Project 😍\n\nYou can checkout the example project 🥰\n\nSimply run\n\n- `npm i`\n- `react-native run-ios/android`\n\nshould work of the example project.\n\n# Configuration - Props\n\n## Fundamentals\n\n| Property |  Type  |  Default  | Description            |\n| -------- | :----: | :-------: | ---------------------- |\n| data     | Item[] | undefined | set the formatted data |\n\n## Customization (Optionals)\n\n| Property         |        Type         |  Default  | Description                                               |\n| ---------------- | :-----------------: | :-------: | --------------------------------------------------------- |\n| style            |      ViewStyle      |  default  | set or override the style object for the `main container` |\n| headerStyle      |      ViewStyle      |  default  | set or override the style object for the `header`         |\n| basicText        |       string        |  \"Basic\"  | change the basic column's text                            |\n| premiumText      |       string        | \"Premium\" | change the premium column's text                          |\n| checkCircleStyle |      ViewStyle      |  default  | set or override the style object for the `check` circle   |\n| iconImageStyle   |     ImageStyle      |  default  | set or override the style object for the `icon` image     |\n| titleTextStyle   |      TextStyle      |  default  | set or override the style object for the `title` text     |\n| itemTextStyle    |      TextStyle      |  default  | set or override the style object for the `item` text      |\n| checkImageSource | ImageSourcePropType |  default  | set your own `check` image                                |\n| lockImageSource  | ImageSourcePropType |  default  | set your own `lock` image                                 |\n\n## Future Plans\n\n- [x] ~~LICENSE~~\n- [ ] Write an article about the lib on Medium\n\n## Author\n\nFreakyCoder, kurayogun@gmail.com\n\n## License\n\nReact Native Premium Table is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrathchaos%2Freact-native-premium-table","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwrathchaos%2Freact-native-premium-table","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrathchaos%2Freact-native-premium-table/lists"}