StdDlgButton
A button in a StdDlgButtonArea
import { StdDlgButton } from "@roku-sdk/components";StdDlgButton(props: IStdDlgButtonProps): JSX.ElementDescription
A button in a StdDlgButtonArea. Should only be a direct child of StdDlgButtonArea.
Parameters
| Name | Type | Description |
|---|---|---|
props | IStdDlgButtonProps |
Example
<stdDlgButtonArea>
<stdDlgButton text="OK" />
<stdDlgButton text="Cancel" />
</stdDlgButtonArea>Types
IStdDlgButtonProps
Properties for the StdDlgButton component.
Represents a single button in the dialog's button area. Buttons are displayed in listed order with size and layout controlled by the StandardDialog layout algorithm.
| Name | Type | Description |
|---|---|---|
disabled? | boolean | When true, the button has an inactive appearance and cannot receive focus. |
text | string | Text displayed on the button. |
Extends IGroupProps.
Updated about 4 hours ago
What’s Next
Did this page help you?