Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SectionalElement

import type { SectionalElement } from "https://aws-api.deno.dev/v0.4/services/amplifyuibuilder.ts?docs=full";

Stores the configuration information for a visual helper element for a form. A sectional element can be a header, a text block, or a divider. These elements are static and not associated with any data.

interface SectionalElement {
level?: number | null;
orientation?: string | null;
position?: FieldPosition | null;
text?: string | null;
type: string;
}

§Properties

§
level?: number | null
[src]

Specifies the size of the font for a Heading sectional element. Valid values are 1 | 2 | 3 | 4 | 5 | 6.

§
orientation?: string | null
[src]

Specifies the orientation for a Divider sectional element. Valid values are horizontal or vertical.

§
position?: FieldPosition | null
[src]

Specifies the position of the text in a field for a Text sectional element.

§
text?: string | null
[src]

The text for a Text sectional element.

§
type: string
[src]

The type of sectional element. Valid values are Heading, Text, and Divider.