code

@Composable
fun IComponent.code(className: String? = null, id: String? = null, content: @Composable ICode.() -> Unit = {})

Creates a Code component.

Parameters

className

the CSS class name

id

the ID attribute of the component

content

the content of the component