codersforcauses / penni

https://penni.vercel.app
MIT License
8 stars 4 forks source link

Create a Generic Button Component #14

Closed yunho7687 closed 3 months ago

yunho7687 commented 3 months ago

Basic Information

Create a reusable button component. This component should be customizable and accept two main props: the button text and a callback function to handle button clicks. Additionally, the button should have a default border-radius of 8px and support styling through Tailwind CSS for flexibility (e.g., solid or outlined styles). button design

Requirements:

  1. Props:
    • label: The label text to display on the button.
    • onClick: The callback function to execute when the button is clicked.
  2. Default Styling:
github-actions[bot] commented 3 months ago

Branch issue-14-Create_a_Generic_Button_Component created!