Problem with external components used inside a template(.rt file)
p3pp8 opened this issue · 0 comments
p3pp8 commented
*** SOLVED ***
I've used <rt-props/>
in order to leave my props unchanged.
*** SOLVED ***
UPDATE
The problem is that while compiling a template any component prop name is converted to camel case syntax, so if i've "autoplay={true}" it becomes "autoPlay={true}"...
UPDATE
Hello, just tried out this Component: Nuka-Carousel with rt-import on template, the Component was rendered fine but autoplay did not work so i've tried some other similar Component(ie react-slick) and got the same result. Something must be lost when html is compiled for the render function. Any idea or workaround?
Any help is really appreciated!
Cheers