Hi, I adore the design but I couldn't find the usage guideline
I am using NativeWind on Expo, so I can directly use
<View className="text-red...."
{ something here to avoid omit }
/>
but I am not sure what to type in there for after installing this plugin, like "nm-concave-red-500" ? but nothing happens except "nm-flat-red-500", "bg-red-100" is just normal background,
my use case would be a neumorphism button,
- Could you offer me a snippet of code of usage ?
- My project is using Typescript, does it affect the plugin as I see the below ?
"Could not find a declaration file for module 'tw-neumorphism'. '/Users/myUserName/pathToProject/Expo/myProjectName/node_modules/tw-neumorphism/index.js' implicitly has an 'any' type.
Try npm i --save-dev @types/tw-neumorphism if it exists or add a new declaration (.d.ts) file containing declare module 'tw-neumorphism';ts(7016)"
Thank you so much 🙏
Hi, I adore the design but I couldn't find the usage guideline
I am using NativeWind on Expo, so I can directly use
<View className="text-red...."
{ something here to avoid omit }
/>
but I am not sure what to type in there for after installing this plugin, like "nm-concave-red-500" ? but nothing happens except "nm-flat-red-500", "bg-red-100" is just normal background,
my use case would be a neumorphism button,
"Could not find a declaration file for module 'tw-neumorphism'. '/Users/myUserName/pathToProject/Expo/myProjectName/node_modules/tw-neumorphism/index.js' implicitly has an 'any' type.
Try
npm i --save-dev @types/tw-neumorphismif it exists or add a new declaration (.d.ts) file containingdeclare module 'tw-neumorphism';ts(7016)"Thank you so much 🙏