Button

Button

Displays a button or a component that looks like a button.


Installation

npx react-nex add Button

Example

Title and ClassName

  • title is used to give the name
  • Style as you want using tailwind

Prop

className

  • Type: string
  • Description: Additional tailwind classes to apply to the avatar container.

onClick

  • Type: function
  • Description: Callback function to be executed when the component is clicked.