HTML children as an array of IStandardElement or as a string.
HTML attributes.
The current list of elements and their respective attributes are listed below:
disabled
src
Note: All supported tags accept className
, dir
, onBlur
, onClick
, onFocus
, style
as attributes.
Aria attributes are also supported such as id
, role
, tabindex
, and many more listed in here.
HTML tag.
The current tags that are supported are below:
Generated using TypeDoc
Element used to render content.
An example of an iframe with a span child:
{ tag: 'iframe', props: { style: { color: 'red', height: '100px', width: '100px' }, className: 'this-class', src: 'www.blackboard.com' }, children: [ { tag: 'span', props: { style: { color: 'blue' } } } ] }