0.0.0-development • Published 4 years ago
react-native-neumorphic v0.0.0-development
react-native-neumorphic
Neumorph your components!
Installation
npm install react-native-neumorphic
Usage
import Component from 'some-module';
import Neumorphic from 'react-native-neumorphic';
// ...
// You can pass an optional configuration object, if you don't this is what it will default to
const config = {
distance: 50,
intensity: 0.15,
blur: 60,
shape: NeumorphConfigShapes.Flat,
};
const NeumorphicComponent = Neumorphic(Component, config);
// ...
<Neumorphic />;
License
MIT
0.0.0-development
4 years ago
0.1.0
4 years ago