This is a Next.js project showcasing the implementation of button components using two different styling methods:
- Tailwind CSS: Buttons styled using Tailwind CSS.
- Styled Components: Buttons styled using Styled Components.
First, clone the repository and navigate to the project directory:
git clone <repository_url>
cd <project_directory>
Install the dependencies:
npm install
# or
yarn install
npm run storybook
# or
yarn storybook
The Tailwind CSS button component is located at components/AppTailwindButton.tsx. It showcases how to create buttons using Tailwind CSS classes.
The Styled Components button component is located at components/AppStyledButton.tsx. It demonstrates how to style buttons using Styled Components in a React application.