Skip to content

May I have an exmaple of the use case ( Example code ) ? #13

@ExoticCoder16

Description

@ExoticCoder16

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,

  1. Could you offer me a snippet of code of usage ?
  2. 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 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions