Examples
Basic with title
Do more with Find it Fix it capabilities
Upgrade to Red Hat Smart Management to remediate all your systems across regions and geographies.
Basic without title
Welcome to the new documentation experience.
Upgrade to Red Hat Smart Management to remediate all your systems across regions and geographies.
With actions
You can add actions to a hint to allow users to respond to suggestions and initiate any related processes.
When a <Hint>
contains actions
, a negative margin is applied to the actions so that they are better aligned with the hint title. For larger-sized titles or non-plain actions (such as a button), remove this negative margin by setting hasNoActionsOffset
to true
.
To illustrate this behavior, select the "actions hasNoActionsOffset" checkbox in the following example.
Do more with Find it Fix it capabilities
Upgrade to Red Hat Smart Management to remediate all your systems across regions and geographies.
Props
Hint
Name | Type | Default | Description |
---|---|---|---|
actions | React.ReactNode | Actions of the hint. | |
children | React.ReactNode | Content rendered inside the hint. | |
className | string | Additional classes applied to the hint. | |
hasNoActionsOffset | boolean | false | Flag indicating that the actions have no offset |
HintTitle
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | Content rendered inside the hint title. | |
className | string | Additional classes applied to the hint title. |
HintBody
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | Content rendered inside the hint body. | |
className | string | Additional classes applied to the hint body. |
HintFooter
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | Content rendered inside the hint footer. | |
className | string | Additional classes applied to the hint footer. |