0.0.1 • Published 8 years ago
react-set-style v0.0.1
react-set-style
A component component that sets style on a DOM element.
Usage
import SetStyle from "react-set-style"
const MyApp = () =>
<div>
<SetStyle
target={document.body}
property="overflow"
value="hidden"
>
<div>The body should be overflow: hidden</div>
</SetStyle>
</div>
0.0.1
8 years ago