Rate this page:
This page describes a Forge preview feature. Preview features are deemed stable; however, they remain under active development and may be subject to shorter deprecation windows. Preview features are suitable for early adopters in production environments.
We release preview features so partners and developers can study, test, and integrate them prior to General Availability (GA). For more information, see Forge release phases: EAP, Preview, and GA.
To add the ButtonSet
component to your app:
1 2import ForgeUI, { ButtonSet } from '@forge/ui';
A layout container for multiple buttons.
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. |
1 2<ButtonSet> <Button onClick={handleAllow}>Allow</Button> <Button onClick={handleDeny}>Deny</Button> </ButtonSet>
Rate this page: