Skip to content

Apply styles directly with styles prop #103

Open
@arcasoy

Description

@arcasoy

I'm developing a web component library. Due to the nature of Shadow DOMs, using className in JS and referring to a class defined in an external CSS or SCSS file is not feasible. I'd like to be able to directly edit the style tag of the component by passing a style={} prop.

This is, in fact, just a means to an end and I'd like the width:100% height: 100% that is applied when the fullscreen is active to be applied at all times, since the component is not large enough. But either way, I think adding this style prop pass through would enable others to tweak the full screen wrapper as they see fit.

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