{"id":20447637,"url":"https://github.com/acrool/acrool-react-auto-height-textarea","last_synced_at":"2025-04-13T01:10:32.515Z","repository":{"id":252415401,"uuid":"840410897","full_name":"acrool/acrool-react-auto-height-textarea","owner":"acrool","description":"auto height textarea by reactjs","archived":false,"fork":false,"pushed_at":"2024-08-11T10:59:10.000Z","size":419,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T19:02:56.736Z","etag":null,"topics":["reactjs","textarea-autoresize"],"latest_commit_sha":null,"homepage":"https://acrool-react-auto-height-textarea.pages.dev/","language":"TypeScript","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/acrool.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-09T16:36:39.000Z","updated_at":"2024-09-14T10:28:25.000Z","dependencies_parsed_at":"2024-11-15T10:32:34.726Z","dependency_job_id":"34e3cf36-4f5b-4d0b-af1e-990cddeb34ec","html_url":"https://github.com/acrool/acrool-react-auto-height-textarea","commit_stats":null,"previous_names":["acrool/acrool-react-auto-height-textarea"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acrool%2Facrool-react-auto-height-textarea","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acrool%2Facrool-react-auto-height-textarea/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acrool%2Facrool-react-auto-height-textarea/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acrool%2Facrool-react-auto-height-textarea/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acrool","download_url":"https://codeload.github.com/acrool/acrool-react-auto-height-textarea/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650750,"owners_count":21139681,"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":["reactjs","textarea-autoresize"],"created_at":"2024-11-15T10:28:05.221Z","updated_at":"2025-04-13T01:10:32.496Z","avatar_url":"https://github.com/acrool.png","language":"TypeScript","funding_links":[],"categories":["React component"],"sub_categories":[],"readme":"# Acrool React Auto Height Textarea\n\n\u003ca href=\"https://acrool-react-auto-height-textarea.pages.dev/\" title=\"Acrool React Auto Height Textarea\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/acrool/acrool-react-auto-height-textarea/main/example/public/og.webp\" alt=\"Acrool React Auto Height Textarea Logo\"/\u003e\n\u003c/a\u003e\n\n\u003cp align=\"center\"\u003e\n    Auto-height Textarea element.\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![NPM](https://img.shields.io/npm/v/@acrool/react-auto-height-textarea.svg?style=for-the-badge)](https://www.npmjs.com/package/@acrool/react-auto-height-textarea)\n[![npm](https://img.shields.io/bundlejs/size/@acrool/react-auto-height-textarea?style=for-the-badge)](https://github.com/acrool/@acrool/react-auto-height-textarea/blob/main/LICENSE)\n[![npm](https://img.shields.io/npm/l/@acrool/react-auto-height-textarea?style=for-the-badge)](https://github.com/acrool/react-auto-height-textarea/blob/main/LICENSE)\n\n[![npm downloads](https://img.shields.io/npm/dm/@acrool/react-auto-height-textarea.svg?style=for-the-badge)](https://www.npmjs.com/package/@acrool/react-auto-height-textarea)\n[![npm](https://img.shields.io/npm/dt/@acrool/react-auto-height-textarea.svg?style=for-the-badge)](https://www.npmjs.com/package/@acrool/react-auto-height-textarea)\n\n\u003c/div\u003e\n\n\n\n\n\n## Features\n\n- Auto-height Textarea element.\n\n\n## Install\n\n```bash\nyarn add @acrool/react-auto-height-textarea\n```\n\n## Usage\n\nadd in your index.tsx\n```tst\nimport \"@acrool/react-auto-height-textarea/dist/index.css\";\n```\n\nadd in your App.tsx\n\n\n```tsx\nimport AutoHeightTextarea from '@acrool/react-auto-height-textarea';\n\nconst Example = () =\u003e {\n    const [value, setValue] = useState('');\n    \n    return \u003cComment\n        value={value}\n        onChange={e =\u003e setValue(e.target.value)}\n        placeholder=\"Type your message\"\n        rows={1}\n    /\u003e;\n}\n\n\n```\n\n## License\n\nMIT © [Acrool](https://github.com/acrool) \u0026 [Imagine](https://github.com/imagine10255)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facrool%2Facrool-react-auto-height-textarea","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facrool%2Facrool-react-auto-height-textarea","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facrool%2Facrool-react-auto-height-textarea/lists"}