react-native-neumorphic
TypeScript icon, indicating that this package has built-in type declarations

0.0.0-development • Public • Published

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

Package Sidebar

Install

npm i react-native-neumorphic

Weekly Downloads

1

Version

0.0.0-development

License

MIT

Unpacked Size

59.1 kB

Total Files

24

Last publish

Collaborators

  • shaneboyar