react-game-kit icon indicating copy to clipboard operation
react-game-kit copied to clipboard

Components should forward classNames

Open patrickdbakke opened this issue 7 years ago • 1 comments

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.

patrickdbakke avatar Jun 10 '18 04:06 patrickdbakke

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

vidjuheffex avatar Jun 23 '18 01:06 vidjuheffex