Skip to content

This native module supports of using 9-patch drawable resources

Notifications You must be signed in to change notification settings

rusfearuth/react-native-9patch-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Native 9patch image

This module supports of using native 9patch drawables from Android and capInsets from iOS.

Getting started

Install native module

$ npm i --save react-native-9patch-image

Link native module with your project

$ react-native link react-native-9patch-image

Add component to your project

import NinePatchView from 'react-native-9patch-image';

<NinePatchView
  source={{ 'uri': 'bubble' }}
  style={{ width: 100, height: 100 }}
  />

About

This native module supports of using 9-patch drawable resources

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •