Skip to content

Inconsistent Prop Naming in SectionTitle and Button Components #6291

Closed
@falgunmpatel

Description

@falgunmpatel

Description

There is inconsistency in prop naming conventions across the codebase:

  • $UniWidth is defined in the SectionTitle component, but UniWidth is used in several places instead of @$UniWidth.
  • $secondary is defined in the Button component, but many implementations use secondary instead.

Expected Behavior

  • Ensure that $UniWidth is used consistently as @$UniWidth.
  • Ensure that $secondary is used instead of secondary for consistency.

Tasks

  • Replace UniWidth with @$UniWidth where necessary.
  • Replace secondary with $secondary in relevant implementations.

Screenshots

Image Image

Environment:

  • Host OS:
  • Browser:

Contributor Resources and Handbook

The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

Join the Layer5 Community by submitting your community member form.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/staleIssue has not had any activity for an extended period of timekind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions