Docs
Default-list

Default List

Displays a list of items with an optional header and a footer. (Not Scrollable)

Users' email

User - 1

Email: user1@example.com

User - 2

Email: user2@example.com

End of list

Usage

Example Code

1import DefaultList from "inc-design-system/defaultList";

Example Code

1<DefaultList>
2  <div>Content 1</div>
3  <div>Content 2</div>
4  <div>Content 3</div>
5</DefaultList>

Props

DefaultList

PropTypeDescriptionDefault
HeaderstringThis will be at the top of the list.-
FooterstringThis will be at the bottom of the list.-
ChildrenReact.ReactNodeChild passed to this component, should be multiple children as it is a list.-