register

@JvmStatic
fun register(clazz: Class<out Component>)

Registers a custom component class.

If you intend to use custom components from resource files, it is mandatory to register them using this method. Failing to do so may result in the custom components not being recognized or functioning as expected.

Parameters

clazz

The custom component class to register.