Components
ContextualHelp

ContextualHelp

Contextual Help is represented by a question mark trigger that is positioned next to an element and displays its definition when clicked.

Required props

label

aria-abel for the contextual help trigger

type
string
default
null

Optional props

children

Children prop

type
React.ReactNode
default
null

narrow

Controls the padding of the contextual help popover. This prop defines whether it should be narrow or not. It is not narrow by default.

type
boolean
default
false

open

type
boolean
default
false

setOpen

A callback that gets called when the open state changes.

type
((open: boolean) => void)
default
null

defaultOpen

Whether the content should be visible by default.

type
boolean
default
false

store

Another store object that will be kept in sync with the original store.

Live examples:

type
Store<Partial<S>>
default
null

placement

type
Placement
default
"bottom"

Related components