fc

fun <P : Props> fc(func: RBuilder.(props: P) -> Unit): FC<P>(source)

Get function component from func


fun <P : Props> fc(displayName: String, func: RBuilder.(props: P) -> Unit): FC<P>(source)

Get function component from func with displayName