PageHeader
The header can be used to declare the page topic, display important information about the page that the user is interested in, and carry the action items related to the current page (including page-level operations, inter-page navigation, etc.)
#
When To UseIt can also be used as inter-page navigation when it is needed to make the user quickly understand what the current page is and to facilitate the user to use the page function.
#
Examples#
BasicProject Name
#
with Breadcrumb#
with onBack#
with extraThis is Search Bar
#
overflow effectProject Name is too long long long long long long long long
#
No lock breadcrumb item width#
APIProperty | Description | Type | Default |
---|---|---|---|
breadcrumb | Breadcrumb configuration | Breadcrumb | [] |
title | Header title | ReactNode | |
extra | Operating area, at the end of the line of the title line | ReactNode | |
onBack | Back icon click event | () => void |