content("title", Type.String) { description("Documentation about this property.") example("Title") example("A really long title to test this use case…") } }
content("title", Type.String) { description("Documentation about this property.") example("Title") example("A really long title to test this use case…") } optionalContent("subtitle", Type.String, nullable = true, default = null) … } }
content("title", Type.String) { description("Documentation about this property.") example("Title") example("A really long title to test this use case…") } optionalContentSubtitle() }
content("title", Type.String) { description("Documentation about this property.") example("Title") example("A really long title to test this use case…") } optionalContentSubtitle() }
UI with the Power of Kotlin" "subtitle" to "Bla bla bla" } myHeaderComponent( title = "Scaling Server-Driven UI with the Power of Kotlin", subtitle = "Bla bla bla" }