11 lines
371 B
Text
11 lines
371 B
Text
props
|
|
fontSize?: string
|
|
label?: string
|
|
content?: string | (() => string | Promise<string>)
|
|
pre.crt(style=fontSize ? 'font-size: ' + fontSize + ';' : '' role=label ? 'img' : false aria-label=label ? label : false)
|
|
code(aria-hidden=label ? false : true)
|
|
span
|
|
if typeof content === 'function'
|
|
!= await content()
|
|
else
|
|
!= content ?? ''
|