Toggler
Wrapper component for toggling button. Use 'inNavbar'/'inHeader' styling or pass your custom styling.
# Toggler API
Name | Required | Type | Default Value |
---|---|---|---|
tag | any | button | |
main HTML tag name | |||
children | any | ||
children components | |||
className | string | ||
user classes for the main HTML tag | |||
innerRef | (Function | string | object) | ||
ref to the main tag | |||
inHeader | boolean | ||
sets style compatible to CHeader component | |||
inNavbar | boolean | ||
sets style compatible to bootstrap navbar (CNavbar component) |