Make React components easier and more maintainable by using inline style objects
MIT License
Bot releases are hidden (Show)
Published by blakeembrey about 8 years ago
Fixed
dangerouslySetInnerHTML
to text incorrectly with 3.0Published by blakeembrey about 8 years ago
Changed
[email protected]
free-style
class extension - create
directly returns a FreeStyle
instanceStyle#component
to wrap
exported function (new signature is wrap(Component, ...styles)
)Style#Element
to StyleElement
exported component (still renders the same)free-style
instances for every component - this allows dynamic rendering of styles (this.context.freeStyle.registerStyle
) without needing to detach them manuallyPublished by blakeembrey about 8 years ago
Changed
react
typings (https://github.com/blakeembrey/react-free-style/pull/18)Published by blakeembrey over 8 years ago
Changed
Published by blakeembrey over 8 years ago
Fixed
Published by blakeembrey over 8 years ago
Added
typings
in package.json
Published by blakeembrey almost 9 years ago
Changed
Published by blakeembrey almost 9 years ago
Changed
Added
displayName
to free style componentsPublished by blakeembrey almost 9 years ago
Changed
xtend
from dependenciesPublished by blakeembrey almost 9 years ago
Changed
Published by blakeembrey almost 9 years ago
Changed
Published by blakeembrey almost 9 years ago
Fixed
console.log
that had been released into the wildPublished by blakeembrey almost 9 years ago
Changed
[email protected]
tsd.json
Published by blakeembrey almost 9 years ago
Changed
>= 0.12
for supportPublished by blakeembrey almost 9 years ago
Changed
peerDependencies
The component
function now subclasses the passed in React.js instance. This fixes #8 and allows for components to expose custom methods (like MyComponent#focus
) where the higher order component would previously hide the functionality.
P.S. Also exposes injectStyle
for a decorators.