AttributeList
Render each attributes in a new line.
import { AttributeList } from "@alloy-js/csharp";
<AttributeList attributes={AttributesProp} endline> {children}</AttributeList>
import { AttributeList } from "@alloy-js/csharp/stc";
AttributeList({ attributes: AttributesProp, endline: boolean,}).children(children)
Props
attributes | optionalAttributesProp |
children | optionalChildren[] |
endline | optionalboolean If the attribute list should finish with a hard line if there is any attribute |