Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DApp - DS] Create Button Component #1542

Closed
rohitmalhotra1420 opened this issue May 20, 2024 · 0 comments · Fixed by #1610
Closed

[DApp - DS] Create Button Component #1542

rohitmalhotra1420 opened this issue May 20, 2024 · 0 comments · Fixed by #1610
Assignees
Labels
DApp - DS Label for tickets related to the design system for DApp

Comments

@rohitmalhotra1420
Copy link
Collaborator

rohitmalhotra1420 commented May 20, 2024

Description:

This ticket focuses on the development of the Button component. The Button is designed to standardise our usage of the different button variants we have on our DApp application.

Figma Design
You can view the design for the [Component Name] component in Figma: Figma Design Link

Features

The Button component will include the following features:

Feature 1: Allowing user to import it anywhere in the app and then use it.
Feature 2: Allowing user to pass certain props to it and then render the desired variant with different css styles.

Location

The Button component will be located in the following directory:

/src/blocks/Button

File Structure

The file structure for the Button component will be as follows:

src/components/Button/
|-- Button.tsx
|-- Button.constants.ts
|-- Button.types.ts
|-- Button.utils.ts
|-- Button.test.tsx
|-- Button.stories.tsx
|-- index.ts
@rohitmalhotra1420 rohitmalhotra1420 self-assigned this May 20, 2024
@rohitmalhotra1420 rohitmalhotra1420 added the DApp - DS Label for tickets related to the design system for DApp label May 20, 2024
@rohitmalhotra1420 rohitmalhotra1420 changed the title [DAPP - DS] Create Button Component [DApp - DS] Create Button Component May 20, 2024
@rohitmalhotra1420 rohitmalhotra1420 linked a pull request Jun 7, 2024 that will close this issue
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DApp - DS Label for tickets related to the design system for DApp
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant