NullableTreePropProvider

inline fun NullableTreePropProvider(vararg props: ClassValuePair<*>, crossinline component: () -> Component?): KComponent?

Same as TreePropProvider, but accepts a lambda that may return a nullable component, in which case it'll return null itself.