Delegated HTML attributes
FlipMove creates a wrapping component over the children supplied, and this component has been notoriously hard to tweak. I added className
and style
props for people to specify those specific attributes, but others have wanted much more control over the wrapping node.
This feature separates all non-FlipMove props into a delegatedProps
object, and applies those attributes directly to the created DOM node.
This means that you can pass any prop you want to <FlipMove />
, and it'll be transferred over to the new node :)
Closes #50