Hi again! I have a question regarding the integrat...
# kvision
i
Hi again! I have a question regarding the integration with react components. I have a prop in react component (see on picture in thread). I translate it to
Props
interface as
var emptySymbol: dynamic
. It should accept react element, but I have no idea how can I do it. I tried few things without success, details in thread
Copy code
react {
    ReactButton {
        attrs {
            this.fullSymbol = kvisionWrapper { add(star()) }
        }
    }
}
I tried to do this thing but no success.
star()
returns
Tag
(svg with content)
r
Try this:
Copy code
attrs.fullSymbol = buildElement {
                            kv {
                                add(star())
                            }
                        }
i
Thanks!