{"id":19076097,"url":"https://github.com/gapur/react-native-accordion","last_synced_at":"2025-04-30T01:13:08.249Z","repository":{"id":45292550,"uuid":"298341379","full_name":"Gapur/react-native-accordion","owner":"Gapur","description":"Animated accordion component for React Native","archived":false,"fork":false,"pushed_at":"2023-02-26T09:28:52.000Z","size":1230,"stargazers_count":14,"open_issues_count":2,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-30T01:13:02.800Z","etag":null,"topics":["accordion","collapsible","react","react-native","react-native-accordion"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@gapur/react-native-accordion","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gapur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-09-24T16:56:09.000Z","updated_at":"2025-02-11T15:51:13.000Z","dependencies_parsed_at":"2024-06-19T17:34:55.260Z","dependency_job_id":"f2b07426-e881-412b-aa7d-addb0d5a591c","html_url":"https://github.com/Gapur/react-native-accordion","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gapur%2Freact-native-accordion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gapur%2Freact-native-accordion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gapur%2Freact-native-accordion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gapur%2Freact-native-accordion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gapur","download_url":"https://codeload.github.com/Gapur/react-native-accordion/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251608465,"owners_count":21616859,"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":["accordion","collapsible","react","react-native","react-native-accordion"],"created_at":"2024-11-09T01:57:02.257Z","updated_at":"2025-04-30T01:13:08.188Z","avatar_url":"https://github.com/Gapur.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-accordion\n\nAnimated accordion component for React Native with React 17 and React Native 0.64.3 Support\n\n## Example app\n\n![image](example-app.gif)\n\n## Installation\n\n```bash\nnpm install --save @gapur/react-native-accordion\n```\n\n## Usage\n```js\nimport Accordion from \"@gapur/react-native-accordion\";\n\n\u003cAccordion headerTitle=\"Title\"\u003e\n  \u003cView\u003e\n    \u003cImage source={imageUrl} /\u003e\n    \u003cText\u003e{description}\u003c/Text\u003e\n  \u003c/View\u003e\n\u003c/Accordion\u003e\n```\n\nYou can also show arrow button on the bottom and override accordion header content:\n```js\n\u003cAccordion\n  showButton\n  style={styles.accordion}\n  renderHeader={() =\u003e renderAccordionHeader()}\u003e\n  \u003cView\u003e\n    \u003cImage source={imageUrl} /\u003e\n    \u003cView style={styles.headerValue}\u003e\n      \u003cText style={styles.headerLabelText}\u003e{title}\u003c/Text\u003e\n      \u003cText style={styles.headerValueText}\u003e{description}\u003c/Text\u003e\n    \u003c/View\u003e\n  \u003c/View\u003e\n\u003c/Accordion\u003e\n```\n\n## Properties\n\n| Prop                      | Description                                                                                                                                                                                                                                                                                                             | Default        |\n| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |\n| **`headerStyle`**         | Optional styling for the header title container                                                                                                                                                                                                                                                                         | `{}`           |\n| **`headerTitle`**         | Header title text                                                                                                                                                                                                                                                                                                       |                |\n| **`headerTitleStyle`**    | Header title text style                                                                                                                                                                                                                                                                                                 |                |\n| **`showButton`**          | Show accordion bottom button                                                                                                                                                                                                                                                                                            | `false`        |\n| **`buttonStyle`**         | Accordion bottom button style                                                                                                                                                                                                                                                                                           | `{}`           |\n| **`renderHeader`**        | Render own accordion header                                                                                                                                                                                                                                                                                             | `() =\u003e {}`     |\n| **`style`**               | Optional styling for the container                                                                                                                                                                                                                                                                                      |                |\n| **`renderButtonContent`** | Render own accordion bottom button                                                                                                                                                                                                                                                                                      | `(showContent) =\u003e {}`     |\n\n## Running example app\n\n```sh\ngit clone git@github.com:Gapur/react-native-accordion.git\ncd react-native-accordion/example\nyarn\nnpm run ios\n```\n\n## Contributors\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgapur%2Freact-native-accordion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgapur%2Freact-native-accordion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgapur%2Freact-native-accordion/lists"}