Boris Dudelsack
@file:JsModule("@bootstrap-styled/provider/lib/BootstrapProvider") package bootstrap import react.* @JsName("BootstrapProvider") external class BootstrapProvider : Component<RProps, RState> { override fun render(): ReactElement? }
Nikky
package bootstrap import react.* @JsModule("@bootstrap-styled/provider/lib/BootstrapProvider") internal external val bootstrapProviderModule: dynamic internal val BootstrapProvider: RClass<BootstrapProviderProps> = bootstrapProviderModule.default interface BootstrapProviderProps : RProps { var reset: Boolean var injectGlobal: Boolean }
fun RBuilder.bootstrapProvider(reset: Boolean = false, injectGlobal: Boolean = false, handler: RHandler<BootstrapProviderProps>) { BootstrapProvider { attrs { this.reset = reset this.injectGlobal = injectGlobal this.utils = BootstrapUtilsConfig() } handler() } }
A modern programming language that makes developers happier.