Rate this page:
A layout container for multiple buttons.
1
import ForgeUI, { ButtonSet } from '@forge/ui';
Name | Type | Required | Description |
---|---|---|---|
children | Array<Button> | Yes | The buttons to display in the set. On large-width devices, the buttons are rendered in a row that wraps to fit. On mobile devices, the buttons are full-width. |
A simple set of buttons to display user actions.
1 2 3 4
<ButtonSet>
<Button text="Allow" onClick={handleAllow} />
<Button text="Deny" onClick={handleDeny} />
</ButtonSet>
Rate this page: