StdDlgButtonArea

Button area positioned at the bottom of a StandardDialog

import { StdDlgButtonArea } from "@roku-sdk/components";
StdDlgButtonArea(props: IStdDlgButtonAreaProps): JSX.Element

Description

Button area positioned at the bottom of a StandardDialog.

Contains zero or more StdDlgButton children arranged vertically. A dialog may have a single optional button area.

Parameters

NameTypeDescription
propsIStdDlgButtonAreaProps

Example

<stdDlgButtonArea>
    <stdDlgButton text="Accept" />
    <stdDlgButton text="Decline" />
    <stdDlgButton text="More Info" disabled={true} />
</stdDlgButtonArea>

Types

IStdDlgButtonAreaProps

Properties for the StdDlgButtonArea component.

Always positioned at the bottom of the dialog. Contains zero or more StdDlgButton child nodes arranged vertically in listed order.

type IStdDlgButtonAreaProps = IStdDlgAreaBaseProps;

What’s Next

Did this page help you?