Navbar
Install
Usage
Basic Usage
LeftAndRightText
Fixed
BorderBottom
ClickHandler
WithLongTitle
API
Props
Attribute
Description
Type
Default
Required
title
Title
string
-
optional
leftText
Left Text
string
-
optional
rightText
Left Text
string
-
optional
leftIcon
Left Icon, can be set to arrow-left
user-o
string
-
optional
rightIcon
Left Icon, can be set to search
string
-
optional
border
Whether to show bottom border
boolean
true
optional
fixed
Whether to fixed top
boolean
true
optional
zIndex
Z-index
number
1
optional
Event
Event
Description
Arguments
clickLeft
Triggered when click left icon
event: Event
clickRight
Triggered when click right icon
event: Event
Last updated