react-native-bordered-image

0.1.2 • Public • Published

Just a wrapper to allow images to have various borderRadius for individual corners. It should be a drop-in replacement for the <Image>

      <BorderedImage style={styles.image} source={{ uri: 'https://facebook.github.io/react/img/logo_og.png' }} />

See the demo for examples.

Unsupported styles

    'borderBottomColor',
    'borderBottomWidth',
    'borderLeftColor',
    'borderLeftWidth',
    'borderRightColor',
    'borderRightWidth',
    'borderTopColor',
    'borderTopWidth',
    'backgroundColor'

Package Sidebar

Install

npm i react-native-bordered-image

Weekly Downloads

39

Version

0.1.2

License

MIT

Last publish

Collaborators

  • rborn