Allow to pass style/className to TransformWrapper & TransformComponent
Is your feature request related to a problem? Please describe.
I'd like to pass either className="d-flex flex-column flex-1" or style={{ display: 'flex', flexDirection: 'column', flex: 1 }} to both TransformWrapper and TransformComponent
The goal is to make the component fill all content horizontally
Describe alternatives you've considered For now I'll apply these styles from the parent element, but it's not ideal, it could break if you change your classes
.react-transform-wrapper, .react-transform-component {
display: flex;
flex-direction: column;
flex: 1;
}
+1
I also would like to see this to avoid using inline styles. I was confused why wrapperClass on TransferComponent would not have any effect but wrapperStyle would but I guess wrapperClass is something completely different?
wrapperClass and wrapperStyle both apply (respectively, class names or style) to the WrapperComponent. I found wrapperClass not to work sometimes because of conflicts with other built-in classes, in which cases I used wrapperStyle to take precedence. componentClass and componentStyle do the same to the TransformComponent. Should this issue be closed?