IntentButton
The IntentButton
is a dedicated button component for sending
intents. It takes care of
opening the intent dialog. An IntentButton
only works in the AppShell context.
Import
import { IntentButton } from '@dynatrace/strato-components-preview/buttons';
Use cases
Send an intent
Use the payload
prop to assign an intent payload object to the button.
Icon only
Use the iconOnly
prop to create an icon-only representation of the
IntentButton
.
Recommend app
Providing an existent appId
and intentId
allows you to bypass the "Open
with" dialog and open the app directly. If you provide a non-existent appId
,
the app shell will open the "Open with" dialog, allowing users to select a
different app.
Still have questions?
Find answers in the Dynatrace Community