QuickHelp components are specialized Popover
components attached to “?” icons. Unlike Popover
components, QuickHelp components can only display text, not arbitrary content.
When used as standalone components, QuickHelp components can be placed anywhere in the page markup.
When used within FormGroup
components, QuickHelp components can be included in any order relative to the form’s other child components. The FormGroup
will properly render it after the ControlLabel
.
Property | Type | Default | Description |
---|---|---|---|
message | Node | Required | Collection of React components to be placed in popover’s content area. |
textClose | String | Required | Localized assistive text for the popover’s close button. |
textShowQuickHelp | String | Required | Localized assistive text for the show quick help (“?”) button. |
title | String | Required | Popover heading. |
className | String | Custom classes to add to the <button> element. | |
placement | String or String[] | ['bottom', 'top', 'left', 'right'] | Placement of the popover relative to its icon. Options are 'top' , 'top-start' , 'top-end' , 'bottom' , 'bottom-start' , 'bottom-end' , 'left' , 'left-start' , 'left-end' , 'right' , 'right-start' , 'right-end' . |
popoverProps | Object | Properties to pass through to the popover. | |
size | String | 'lg' | Size of the icon. Options are 'lg' , 'md' , 'sm' . Will be ignored if used within a FormGroup as it will be driven by the form’s size property. |