I'm rewriting my static sites in compose, any poss...
# compose-web
s
I'm rewriting my static sites in compose, any possibility to hack out a <strong> tag? Also might be worth mentioning about
--continuous
argument for jsBrowserRun task in Getting Started tutorial, developing with live reload is far more productive
probably not great, but works in my case
Copy code
@Composable
fun Strong(
    content: ContentBuilder<HTMLElement>? = null
) {
    val emptyAttrs: AttrBuilderContext<Tag> = {}
    TagElement("strong", applyAttrs = emptyAttrs, content = content)
}
h
Exactly. Please add a PR.
BTW: Is strong without a content useful at all?
s
All tag composables included in current API have default content value of null, I just copied an existing one and changed it