Skip to content

Composing function styles causes dynamic styles to not be used #75

@atomanyih

Description

@atomanyih

As documented in the readme, you are able to compose style-objects or style-functions by passing additional arguments to styled.

However, if you pass a style-function then any function rules in the base styles will not be respected

see example:
https://codesandbox.io/embed/jss-composable-styles-bug-rt1on

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