ChatiumFor developersPlaygroundPricing
Sign in

ListItems

Properties

  • header (string | JSXElement):
    The title of the list. If a string is provided, it will be displayed using the ListItemsHeader component. If a JSX element is provided, it will be shown as a custom header. This property is optional.

  • fullHeight (boolean):
    Determines whether the list should stretch to the full height of the container. If set to true, a modifier __full-height will be added to the class, affecting the height of the list.

Important Points

  • ListItemsHeader:
    If the header property is provided as a string, the header is rendered through the ListItemsHeader component, which displays the header with a specific style. If header is a JSX element, it is rendered as is.
  • props.children:
    All main information or content of the list is passed through children, which will be displayed inside a block with the class ListItems__content.