Skip to content
Advertisement

Tag: kotlin-js-interop

How to import react-bootstrap component with children into kotlin-js react app

I want to use a bootstrap Card component in a react website created with kotlin-js. The app uses kotlin-react wrapper and react-bootstrap library. react-bootstrap documentation says use <Card.Body> to put content. So far I managed to import the Card JavaScript module into kotlin-js. With this I could use the Card within a RComponent. What renders to: What I additionally need

Advertisement