AppNavi

Props

AppNavi props

NameRequiredTypeDefault ValueDescription
label-string
buttons-(AppNaviButtonProps | AppNaviAnchorProps | AppNaviDropdownProps | AppNaviCustomTagProps)[]
isCurrentUnclickable-false, true
className-string

AppNaviButton props

NameRequiredTypeDefault ValueDescription
icon-ComponentClass<ComponentProps, any>, FunctionComponent<ComponentProps>
current-false, true
onClick-(e: MouseEvent<HTMLButtonElement, MouseEvent>) => void
isUnclickable-false, true

AppNaviAnchor props

NameRequiredTypeDefault ValueDescription
hreftruestring
icon-ComponentClass<ComponentProps, any>, FunctionComponent<ComponentProps>
current-false, true
isUnclickable-false, true

AppNaviDropdown props

NameRequiredTypeDefault ValueDescription
dropdownContenttruestring, number, false, true, {}, ReactElement<any, string | JSXElementConstructor<any>>, ReactNodeArray, ReactPortal
icon-ComponentClass<ComponentProps, any>, FunctionComponent<ComponentProps>
current-false, true
isUnclickable-false, true

AppNaviCustomTag props

NameRequiredTypeDefault ValueDescription
tagtrueComponentClass<any, any>, FunctionComponent<any>
icon-ComponentClass<ComponentProps, any>, FunctionComponent<ComponentProps>
current-false, true
isUnclickable-false, true
© 2021, SmartHR, Inc.