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:
Props:
label: The label text to display on the button.
onClick: The callback function to execute when the button is clicked.
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: