Skip to content

AttributeList

Render each attributes in a new line.

import { AttributeList } from "@alloy-js/csharp";
<AttributeList attributes={AttributesProp} endline>
{children}
</AttributeList>

Props

attributesoptionalAttributesProp
childrenoptionalChildren[]
endlineoptionalboolean

If the attribute list should finish with a hard line if there is any attribute