RStatics
open class RStatics<P : Props, S : State, C : Component<P, S>, CTX : Context<*>?>(klazz: KClass<C>) : RComponentClassStatics<P, S, CTX> (source)
Usage:
companion object : RStatics<Props, State, RComponent, Nothing>(RComponent::class) {
init {
defaultProps = ...
...
}
}
Content copied to clipboard
in your class components