{"id":17675361,"url":"https://github.com/numandev1/react-native-emoji-hook","last_synced_at":"2025-05-12T21:13:54.585Z","repository":{"id":57336756,"uuid":"409660613","full_name":"numandev1/react-native-emoji-hook","owner":"numandev1","description":"Write emoji by emoji code :D = 😄","archived":false,"fork":false,"pushed_at":"2021-09-24T12:43:54.000Z","size":1465,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T18:55:39.654Z","etag":null,"topics":["android","editor","emoji","emoji-editor","emoji-textinput","emojis","facebook","facebook-emoji","hook","ios","react-native","textinput","web","website"],"latest_commit_sha":null,"homepage":"https://distracted-wilson-9627b2.netlify.app/","language":"JavaScript","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/numandev1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-23T16:11:27.000Z","updated_at":"2023-11-20T09:43:40.000Z","dependencies_parsed_at":"2022-09-11T10:12:34.235Z","dependency_job_id":null,"html_url":"https://github.com/numandev1/react-native-emoji-hook","commit_stats":null,"previous_names":["nomi9995/react-native-emoji-hook"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numandev1%2Freact-native-emoji-hook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numandev1%2Freact-native-emoji-hook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numandev1%2Freact-native-emoji-hook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numandev1%2Freact-native-emoji-hook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/numandev1","download_url":"https://codeload.github.com/numandev1/react-native-emoji-hook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243200081,"owners_count":20252541,"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","editor","emoji","emoji-editor","emoji-textinput","emojis","facebook","facebook-emoji","hook","ios","react-native","textinput","web","website"],"created_at":"2024-10-24T07:10:51.582Z","updated_at":"2025-03-12T10:31:16.185Z","avatar_url":"https://github.com/numandev1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- Title --\u003e\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"/assets/icon.jpg\" alt=\"alt text\" width=\"300\" style=\"padding-top: 16px; padding-bottom: 16px;\" /\u003e\n\u003c/p\u003e\n\n\u003c!-- Header --\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eWrite emoji by emoji code\u003c/b\u003e\n  \u003cbr /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"350\" src=\"/assets/demo.gif\"\u003e\n\u003c/p\u003e\n\n# [Demo](https://distracted-wilson-9627b2.netlify.app/)\n\n## Installation\n\n```sh\nnpm install react-native-emoji-hook\n```\n\n## Usage\n\n```js\nimport useEmoji, { emojify } from 'react-native-emoji-hook';\n\n// ...\n\nconst [text, setText] = useEmoji();\n```\n\n**emojify** function is not hook it is basically text to emoji text converter. you can use this for making own custom useState.\n\n## Example Code\n\n```\nimport * as React from 'react';\n\nimport { StyleSheet, View, TextInput } from 'react-native';\nimport useEmoji from 'react-native-emoji-hook';\n\nexport default function App() {\n  const [text, setText] = useEmoji();\n  return (\n    \u003cView style={styles.container}\u003e\n      \u003cTextInput style={styles.input} value={text} onChangeText={setText} /\u003e\n    \u003c/View\u003e\n  );\n}\n\nconst styles = StyleSheet.create({\n  container: {\n    flex: 1,\n    alignItems: 'center',\n    justifyContent: 'center',\n  },\n  input: {\n    width: '100%',\n    height: 100,\n    backgroundColor: 'gray',\n    fontSize: 30,\n  },\n});\n```\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumandev1%2Freact-native-emoji-hook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumandev1%2Freact-native-emoji-hook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumandev1%2Freact-native-emoji-hook/lists"}