Skip to content

πŸ“¦ NEW: InputΒ #21

@marcaumdesign

Description

@marcaumdesign

Done State

Settings

  • Create a new directory for the component under the src/ directory in it's specific category.
  • Copy over an existing components Story and index file and past into the new directory
  • Switch all the old names with the new name with Cmd+Fn+F2
  • Set the component Interface (proprieties) and bring to the main fuction on index.tsx
  • Paste from Figma the code on the main function
  • Switch the fixed proprieties values by your Interface proprieties you created
  • Set argTypes on {component}.stories.ts exatcly as it is on your index.tsx with the control modes
  • Set the args for the variants previews too

Stylish

  • Link colors tokens
  • Link text tokens
  • Link icons
  • Fix layout
  • Link Figma component to Storybook

Technical Requirements

  • React used for creating functional components
  • TailwindCSS used for styling components alongside traditional CSS
  • React Hook Form used for form field validation
  • No complex state stored inside component

Resources

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions