Functions
[upperCaseString(string)] ⇒ string
Upper case the first letter of a string
Typedefs
[props]
Props for Tabs
Page Builder Tabs component.
This component is part of the Page Builder / PWA integration. It can be consumed without Page Builder.
Returns: React.Element — A React component that displays a set of Tabs.
Parameters
Name
Type
Description
props
propsReact component props
Upper case the first letter of a string
Returns: Parameters
Name
Type
string
stringProps for Tabs
Properties
Name
Type
Description
classes
ObjectAn object containing the class names for the Tabs
classes.header
StringClass names for the tab header
classes.panelSelected
StringClass names for the selected tab panel
classes.panel
StringClass names for the tab panel
classes.contentLeft
StringClass names for the tab content
classes.contentCenter
StringClass names for the tab content
classes.contentRight
StringClass names for the tab content
classes.navigationLeft
StringClass names for the tab navigation
classes.navigationCenter
StringClass names for the tab navigation
classes.navigationRight
StringClass names for the tab navigation
classes.navigationGradientLeft
StringClass names for the tab navigation gradient when scrolling
classes.navigationGradientRight
StringClass names for the tab navigation gradient when scrolling
classes.navigationGradientBoth
StringClass names for the tab navigation gradient when scrolling
classes.disabled
StringClass names for the disabled tabs
classes.selected
StringClass names for the selected tab
classes.item
StringClass names for the tab item
tabNavigationAlignment
StringNavigation alignment for tabs
minHeight
StringMinimum height of the tabs
defaultIndex
NumberIndex of the tab to display by default
headers
ArrayArray of tab headers
textAlign
StringAlignment of the Tabs within the parent container
border
StringCSS border property
borderColor
StringCSS border color property
borderWidth
StringCSS border width property
borderRadius
StringCSS border radius property
marginTop
StringCSS margin top property
marginRight
StringCSS margin right property
marginBottom
StringCSS margin bottom property
marginLeft
StringCSS margin left property
mediaQueries
ArrayList of media query rules to be applied to the component
paddingTop
StringCSS padding top property
paddingRight
StringCSS padding right property
paddingBottom
StringCSS padding bottom property
paddingLeft
StringCSS padding left property
cssClasses
ArrayList of CSS classes to be applied to the component
Source Code: pwa-studio/packages/pagebuilder/lib/ContentTypes/Tabs/tabs.js