Skip to content

Wildcard V2: <Link /> Implementation

Administrator requested to merge contractors/SG-27660.2 into main

Created by: gitstart-sourcegraph

Wildcard implementation of the component.

See Wildcard V2 - Planned work for more context

Acceptance criteria

  • Component is implemented within Wildcard
  • Component has tests
  • Component is accessible
  • Component matches Figma designs

Ref

SG Issue Gitstart Ticket

Implementation details

  1. Move the existing implementation to the Wildcard package.
  2. Extract styles required for the component from Bootstrap to a CSS module: a) Extract classes from node_modules/bootstrap/scss/_reboot.scss related to Link to a component CSS module. b) Merge our link SCSS variables with the newly created CSS module.
  3. Create new Link story. Render the Link component with a regular text like we do here.
  4. Use the component as a blueprint for the new component.

Merge request reports

Loading