BitstylesPhoenix.Component.DescriptionList.ui_dl_item

You're seeing just the function ui_dl_item, go back to BitstylesPhoenix.Component.DescriptionList module for more information.

Render a description list item.

Attributes

  • label - If set renders two tags ui_dt/1 with the contents of the attribute and ui_dd/1 with the inner contents of the component. If you need to set more custom content on the ui_dt/1 you can omit this attribute, and provide ui_dt/1 and ui_dd/1 yourself in the inner conten.
  • value - If label is set, a value can be specified instead of using the inner content of the component.
  • class - Extra classes to pass to the div tag. See BitstylesPhoenix.Helper.classnames/1 for usage.
  • All other attributes are passed to the div tag.