Skip to content

rn-libs/rn-plat-envs

Repository files navigation

 React native platform environment (rn-plat-envs)

install

npm install rn-plat-envs

how to use

import { platformVariable } from 'rn-plat-envs'

const styles = StyleSheet.create({
  container: {
    background: platformVariable('red', 'green', 'blue'),
  },
})

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published