Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Components should forward classNames #68

Open
patrickdbakke opened this issue Jun 10, 2018 · 1 comment
Open

Components should forward classNames #68

patrickdbakke opened this issue Jun 10, 2018 · 1 comment

Comments

@patrickdbakke
Copy link

Use case:

.someClass{
   position:absolute;
   // whatever
}
<Loop className="someClass" style>

Expected:

<div class="someClass"></div>

Actual:

<div style="width:100%;height:100%"></div>

Currently, only style is supported.

@vidjuheffex
Copy link

IMO they should forward everything using {...rest}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants