https://github.com/charpeni/react-native-is-catalyst
Tells if the react native app is running on Catalyst
https://github.com/charpeni/react-native-is-catalyst
catalyst macos react-native
Last synced: 9 months ago
JSON representation
Tells if the react native app is running on Catalyst
- Host: GitHub
- URL: https://github.com/charpeni/react-native-is-catalyst
- Owner: charpeni
- License: mit
- Created: 2020-09-11T16:53:44.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-11T20:08:12.000Z (over 5 years ago)
- Last Synced: 2024-11-05T08:05:47.990Z (about 1 year ago)
- Topics: catalyst, macos, react-native
- Language: Ruby
- Homepage:
- Size: 74.2 KB
- Stars: 16
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-native-is-catalyst
## Getting started
`$ yarn install react-native-is-catalyst`
## Usage
```javascript
import isCatalyst from 'react-native-is-catalyst';
if (isCatalyst) {
// Do something that will only be executed on Catalyst
}
```
## License
react-native-is-catalyst is [MIT licensed](LICENSE).