Interface: RsBreadcrumbProps
Props for the RsBreadcrumb component.
Extends
BreadcrumbProps
Properties
as?
optionalas:ElementType<any, keyof IntrinsicElements>
You can use a custom element for this component
Inherited from
BreadcrumbProps.as
children?
optionalchildren:ReactNode
Primary content
Inherited from
BreadcrumbProps.children
className?
optionalclassName:string
Additional classes
Inherited from
BreadcrumbProps.className
classPrefix?
optionalclassPrefix:string
The prefix of the component CSS class
Inherited from
BreadcrumbProps.classPrefix
ellipsis?
optionalellipsis:ReactNode
The ellipsis element.
Inherited from
BreadcrumbProps.ellipsis
items
items:
RsBreadcrumbItemProps[]
Array of breadcrumb items to display.
locale?
optionallocale:PickKeys<{expandText:string; }>
The locale of the component.
Inherited from
BreadcrumbProps.locale
maxItems?
optionalmaxItems:number
Set the maximum number of breadcrumbs to display. When there are more than the maximum number, only the first and last will be shown, with an ellipsis in between.
Inherited from
BreadcrumbProps.maxItems
onExpand()?
optionalonExpand: (event) =>void
Callback function for clicking the ellipsis.
Parameters
event
MouseEvent
Returns
void
Inherited from
BreadcrumbProps.onExpand
onItemClick()
onItemClick: (
item) =>void
Callback function when a breadcrumb item is clicked.
Parameters
item
Returns
void
separator?
optionalseparator:ReactNode
The separator between each breadcrumb item.
Inherited from
BreadcrumbProps.separator
style?
optionalstyle:CSSProperties
Additional style
Inherited from
BreadcrumbProps.style