RUI.next

Data-Display
Footer

Footer

Footer is able to display information at the bottom of the UI screen.

<Footer content={SOME_INFO} />
<Footer content={SOME_INFO} />

Example

Group usage of Footer component.

Footer combination

Basic usage as the following.

Footer content
Customize footer label

API

PropertiesDescriptionTypeDefault
labelThe top content with a line dividerstring | ReactNode-
linksThe links above contentLinkItem[]-
contentThe common content sectionstring | ReactNode-
chipsChips, only one line of content is allowed. If the content exceeds the width, the content will be automatically interceptedChipItem[]-
onClickChipClick the bottom label to trigger, and it will only take effect when the chip type is link(item: ChipItem, index: number) => void-
onClickLinkClicking the link triggers an event that intercepts the href jump to the anchor(item: LinkItem, index: number) => void-

ChipItem

NameDescriptionTypeDefault
contentThe chip contentstring | ReactNode-
typeThe chip type, plain type is only for display, link type is clickableplain | linkplain

LinkItem

NameDescriptionTypeDefault
textThr text of linksstring-
urlThe url of linksstring-