Skip to content

Fix Button Proptypes linting issue/ Global Props #143

@summer-cook

Description

@summer-cook

story

buttonprops are being brought in to the linked button, which is causing this linting warning

Image

it would be helpful to have buttonprops and maybe image props in a global props file that we could import these from.

resources

https://stackoverflow.com/questions/58482573/react-inherit-copy-proptypes-from-another-component
https://stackoverflow.com/questions/30265327/react-js-and-proptypes-repetition-across-shared-components

acceptance criteria

  • buttonprops & image props are in a separate global props file and imported across all components that use them

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions