Skip to content

Remove redundant styling props in the next major version of xstyled #377

@quantizor

Description

@quantizor

There are a number of redundant props: bg vs backgroundColor, maxW vs maxWidth, maxH vs maxHeight

On the surface this doesn't seem like a big deal, but if you're making a component library using xstyled which has some base styling and allows overrides by the consumer, this could lead to issues if they don't match using the exact same prop.

We should choose to favor either the verbose or short versions and deprecate+remove the others to reduce complexity.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions