Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Enable PropType checking of particular className props #37

@RylanH

Description

@RylanH

Often times a component will take a className as a prop which can override styling of the component. The component should be able to limit what can be overridden to guarantee the component works and acts in a particular way. Often times this means that only positional (top, left, right, margin, etc.) and some sizing styles can be applied. To enforce this, a component should be able to check the passed in className and see what styles would be applied.

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