{"id":17700778,"url":"https://github.com/wrathchaos/react-native-empty-state","last_synced_at":"2025-05-13T05:01:33.939Z","repository":{"id":86534293,"uuid":"305455874","full_name":"WrathChaos/react-native-empty-state","owner":"WrathChaos","description":"Empty State library which is fully customizable and simple for any state view use-cases","archived":false,"fork":false,"pushed_at":"2020-10-30T19:18:02.000Z","size":1013,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T07:56:53.050Z","etag":null,"topics":["android","development","empty","empty-state","expo","ios","mobile","react","react-native","react-native-component","reactjs","state","state-view"],"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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-19T17:04:34.000Z","updated_at":"2023-10-24T16:23:39.000Z","dependencies_parsed_at":"2023-03-10T15:30:27.766Z","dependency_job_id":null,"html_url":"https://github.com/WrathChaos/react-native-empty-state","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.125,"last_synced_commit":"09cb433816987b57d5e223e97fd130de0fc7ab95"},"previous_names":[],"tags_count":3,"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-empty-state","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-empty-state/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-empty-state/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WrathChaos%2Freact-native-empty-state/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WrathChaos","download_url":"https://codeload.github.com/WrathChaos/react-native-empty-state/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253877509,"owners_count":21977643,"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":["android","development","empty","empty-state","expo","ios","mobile","react","react-native","react-native-component","reactjs","state","state-view"],"created_at":"2024-10-24T17:43:05.239Z","updated_at":"2025-05-13T05:01:33.318Z","avatar_url":"https://github.com/WrathChaos.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg alt=\"React Native Empty State\" src=\"assets/logo.png\" width=\"1050\"/\u003e\n\n[![Empty State library which is fully customizable and simple for any state view use-cases](https://img.shields.io/badge/-Empty%20State%20library%20which%20is%20fully%20customizable%20and%20simple%20for%20any%20state%20view%20use--cases-orange?style=for-the-badge)](https://github.com/WrathChaos/react-native-empty-state)\n\n[![npm version](https://img.shields.io/npm/v/@freakycoder/react-native-empty-state.svg?style=for-the-badge)](https://www.npmjs.com/package/@freakycoder/react-native-empty-state)\n[![npm](https://img.shields.io/npm/dt/@freakycoder/react-native-empty-state.svg?style=for-the-badge)](https://www.npmjs.com/package/@freakycoder/react-native-empty-state)\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 Empty State\"\n        src=\"assets/Screenshots/react-native-empty-state.png\" /\u003e\n\u003c/p\u003e\n\n# Installation\n\nAdd the dependency:\n\n```bash\nnpm i @freakycoder/react-native-empty-state\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\"@freakycoder/react-native-bounceable\": \"\u003e= 0.2.2\",\n```\n\n# Usage\n\n## Import\n\n```jsx\nimport EmptyState from \"@freakycoder/react-native-empty-state\";\n```\n\n## Fundamental Usage\n\n```jsx\n\u003cEmptyState\n  enableButton\n  buttonText=\"Refresh\"\n  imageSource={emptyStateImage}\n  title=\"Opps! Anything here :(\"\n  description=\"We cannot find anything here, try again sometime\"\n/\u003e\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| title       | string | undefined | change the title       |\n| description | string | undefined | change the description |\n\n## Customization (Optionals)\n\n| Property                  |    Type    |  Default  | Description                                                            |\n| ------------------------- | :--------: | :-------: | ---------------------------------------------------------------------- |\n| enableButton              |  boolean   |   false   | let you enable the button (must use it for button)                     |\n| onPress                   |  function  | undefined | set your own logic for the button functionality when it is pressed     |\n| buttonText                |   string   | undefined | change the button's text                                               |\n| style                     | ViewStyle  |  default  | set or override the style object for the main container                |\n| buttonStyle               | ViewStyle  |  default  | set or override the style object for the button style                  |\n| titleTextStyle            | TextStyle  |  default  | set or override the style object for the title text style              |\n| buttonTextStyle           | TextStyle  |  default  | set or override the style object for the button's text style           |\n| descriptionTextStyle      | TextStyle  |  default  | set or override the style object for the description text style        |\n| containerGlueStyle        | ViewStyle  |  default  | set or override the style object for the container glue style          |\n| descriptionContainerStyle | ViewStyle  |  default  | set or override the style object for the description container style   |\n| imageStyle                | ImageStyle |  default  | set or override the style object for the image style                   |\n| ImageComponent            |   Image    |  default  | set your own component instead of default react-native Image component |\n\n## Future Plans\n\n- [x] ~~LICENSE~~\n\n## Author\n\nFreakyCoder, kurayogun@gmail.com\n\n## License\n\nReact Native Empty State 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-empty-state","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwrathchaos%2Freact-native-empty-state","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrathchaos%2Freact-native-empty-state/lists"}