Open jamesdbrock opened 3 years ago
The _data :: Object String fields of the Props records are for HTML data attributes. The data- prefix will be added to the attribute, so for example
_data :: Object String
data-
div' { _data: singleton "name" "value" }
will render as
<div data-name="value" />
The
_data :: Object String
fields of the Props records are for HTML data attributes. Thedata-
prefix will be added to the attribute, so for examplewill render as