{"id":13726585,"url":"https://github.com/rescript-react-native/paper","last_synced_at":"2025-04-13T12:08:40.028Z","repository":{"id":39711317,"uuid":"216996310","full_name":"rescript-react-native/paper","owner":"rescript-react-native","description":"ReScript bindings for react-native-paper","archived":false,"fork":false,"pushed_at":"2023-02-09T04:24:12.000Z","size":504,"stargazers_count":14,"open_issues_count":4,"forks_count":15,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-13T12:08:29.792Z","etag":null,"topics":["hacktoberfest","paper","react","react-native","rescript","rescript-react","rescript-react-native"],"latest_commit_sha":null,"homepage":"","language":"ReScript","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/rescript-react-native.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2019-10-23T07:34:46.000Z","updated_at":"2024-11-05T00:20:31.000Z","dependencies_parsed_at":"2023-07-18T14:30:42.438Z","dependency_job_id":null,"html_url":"https://github.com/rescript-react-native/paper","commit_stats":{"total_commits":54,"total_committers":8,"mean_commits":6.75,"dds":0.5740740740740741,"last_synced_commit":"72570f7042aedb4c608b2dfd42ecf46032deb5e0"},"previous_names":["reason-react-native/paper"],"tags_count":5,"template":false,"template_full_name":"rescript-react-native/__template__","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rescript-react-native%2Fpaper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rescript-react-native%2Fpaper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rescript-react-native%2Fpaper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rescript-react-native%2Fpaper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rescript-react-native","download_url":"https://codeload.github.com/rescript-react-native/paper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710431,"owners_count":21149190,"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","paper","react","react-native","rescript","rescript-react","rescript-react-native"],"created_at":"2024-08-03T01:03:13.713Z","updated_at":"2025-04-13T12:08:40.006Z","avatar_url":"https://github.com/rescript-react-native.png","language":"ReScript","funding_links":[],"categories":["ReScript"],"sub_categories":[],"readme":"# `@rescript-react-native/paper`\n\n[![Build Status](https://github.com/rescript-react-native/paper/workflows/Build/badge.svg)](https://github.com/rescript-react-native/paper/actions)\n[![Version](https://img.shields.io/npm/v/@rescript-react-native/paper.svg)](https://www.npmjs.com/@rescript-react-native/paper)\n[![ReScript Forum](https://img.shields.io/discourse/posts?color=e6484f\u0026label=ReScript%20Forum\u0026server=https%3A%2F%2Fforum.rescript-lang.org)](https://forum.rescript-lang.org/)\n\n[ReScript](https://rescript-lang.org) bindings for\n[`react-native-paper`](https://github.com/callstack/react-native-paper).\n\nExposed as `Paper` module.\n\n`@rescript-react-native/paper` X.y.\\* means it's compatible with\n`react-native-paper` X.y.\\*\n\n## Status\n\n⚠️ Work in progress. These bindings are used successfully in several apps, but\nare not complete yet and still subject to change.\n\n[Checkout missing components](#implemented-components)\n\n## Installation\n\nWhen [`react-native-paper`](https://github.com/callstack/react-native-paper)\nis properly installed \u0026 configured by following their installation instructions,\nyou can install the bindings:\n\n```console\nnpm install @rescript-react-native/paper\n# or\nyarn add @rescript-react-native/paper\n```\n\n`@rescript-react-native/paper` should be added to `bs-dependencies` in your\n`bsconfig.json`:\n\n```diff\n{\n  //...\n  \"bs-dependencies\": [\n    \"@rescript/react\",\n    \"rescript-react-native\",\n    // ...\n+    \"@rescript-react-native/paper\"\n  ],\n  //...\n}\n```\n\n## Usage\n\n### Components\n\n```rescript\n[@react.component]\nlet make = () =\u003e {\n  let (visible, setVisible) = React.useState(() =\u003e false);\n\n  \u003cPaper.Portal\u003e\n    \u003cPaper.Dialog visible onDismiss={_ =\u003e setVisible(_ =\u003e false)}\u003e\n      \u003cPaper.Dialog.Title\u003e\n        {\"Title\"-\u003eReact.string}\n      \u003c/Paper.Dialog.Title\u003e\n      \u003cPaper.Dialog.Description\u003e\n        {\"Description\"-\u003eReact.string}\n      \u003c/Paper.Dialog.Description\u003e\n    \u003c/Paper.Dialog\u003e\n  \u003c/Paper.Portal\u003e\n};\n```\n\n---\n\n## Changelog\n\nCheck the [changelog](./CHANGELOG.md) for more informations about recent\nreleases.\n\n## Contribute\n\nRead the [contribution guidelines](https://github.com/rescript-react-native/.github/blob/master/CONTRIBUTING.md) before contributing.\n\n## Code of Conduct\n\nWe want this community to be friendly and respectful to each other. Please read\n[our full code of conduct](https://github.com/rescript-react-native/.github/blob/master/CODE_OF_CONDUCT.md) so that you can understand what\nactions will and will not be tolerated.\n\n## Implemented components\n\n- [x] ActivityIndicator\n- [x] Avatar\n- [x] Appbar\n- [x] BottomNavigation\n- [x] Badge\n- [x] Banner\n- [x] Button\n- [x] Checkbox\n- [x] Card\n- [x] Chip\n- [x] Dialog\n- [x] Divider\n- [x] FAB\n- [ ] DataTable\n- [x] Drawer\n- [x] List\n- [x] IconButton\n- [x] Modal\n- [ ] Menu\n- [x] RadioButton\n- [x] Searchbar\n- [x] PaperProvider\n- [x] Portal\n- [x] ProgressBar\n- [x] Snackbar\n- [x] Surface\n- [x] TextInput\n- [x] TouchableRipple\n- [x] ToggleButton\n- [x] HelperText\n- [x] ThemeProvider\n- [x] withTheme (HoC)\n- Typography\n  - [x] Title\n  - [x] Subheading\n  - [x] Headline\n  - [x] Paragraph\n  - [x] Caption\n  - [x] Text\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frescript-react-native%2Fpaper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frescript-react-native%2Fpaper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frescript-react-native%2Fpaper/lists"}