{"id":20321327,"url":"https://github.com/codesyntax/ionic-react-header-collapse","last_synced_at":"2025-04-11T19:08:04.215Z","repository":{"id":39169686,"uuid":"456879876","full_name":"codesyntax/ionic-react-header-collapse","owner":"codesyntax","description":"Easy to use hook to handle collapse effect on scroll for IonHeader component in React Ionic","archived":false,"fork":false,"pushed_at":"2022-06-01T14:59:52.000Z","size":5327,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-02T22:05:20.872Z","etag":null,"topics":["hacktoberfest","ionic","ionic-framework","react"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/codesyntax.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-02-08T10:12:47.000Z","updated_at":"2025-01-02T01:34:37.000Z","dependencies_parsed_at":"2022-09-26T16:21:05.953Z","dependency_job_id":null,"html_url":"https://github.com/codesyntax/ionic-react-header-collapse","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesyntax%2Fionic-react-header-collapse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesyntax%2Fionic-react-header-collapse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesyntax%2Fionic-react-header-collapse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesyntax%2Fionic-react-header-collapse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codesyntax","download_url":"https://codeload.github.com/codesyntax/ionic-react-header-collapse/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248465316,"owners_count":21108244,"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":["hacktoberfest","ionic","ionic-framework","react"],"created_at":"2024-11-14T19:13:53.386Z","updated_at":"2025-04-11T19:08:04.187Z","avatar_url":"https://github.com/codesyntax.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ionic-react-header-collapse\n\n### Easy to use hook to handle collapse effect on scroll for IonHeader component in React Ionic\n\n\u003e Currently the package is in beta phase. Any issue or PR will be appreciated ;)\n\n[![NPM](https://img.shields.io/npm/v/@codesyntax/ionic-react-header-collapse.svg)](https://www.npmjs.com/package/@codesyntax/ionic-react-header-collapse) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n\nIOS/Android:\n\n\u003cimg src=\"./example/ios_demo.gif\" width=\"25%\"\u003e\n\u003cimg src=\"./example/android_demo.gif\" width=\"25%\"\u003e\n\n\n## Install\n\n```bash\nnpm install --save @codesyntax/ionic-react-header-collapse\n```\n\n## Usage\n\n```tsx\nimport React, { Component } from 'react';\n\nimport { UseIonHeaderCollapse, useIonHeaderCollapse } from '@codesyntax/ionic-react-header-collapse';\n\nconst Home: React.FC = () =\u003e {\n  const { ref } = useIonHeaderCollapse({} as UseIonHeaderCollapse);\n  render() {\n    return (\n      \u003cIonPage\u003e\n        \u003cIonHeader ref={ref}\u003e\n          \u003cIonToolbar\u003e\n            \u003cIonTitle\u003eIonic header\u003c/IonTitle\u003e\n          \u003c/IonToolbar\u003e\n        \u003c/IonHeader\u003e\n        \u003cIonContent fullscreen\u003e\n          ...\n        \u003c/IonContent\u003e\n      \u003c/IonPage\u003e\n      );\n  }\n}\n```\n\n\n## License\n\nMIT © [CodeSyntax](https://github.com/codesyntax)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesyntax%2Fionic-react-header-collapse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodesyntax%2Fionic-react-header-collapse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesyntax%2Fionic-react-header-collapse/lists"}