interface RunicHostedRegionProps extends Omit<HTMLAttributes<HTMLElement>, "children" | "title"> Props of RunicHostedRegion. Other HTML attributes, such as className, style and id, go to the element.
Properties
name
readonly name: string; The region's name, which the host application's policy embeds a guest's Window in.
sizing
readonly sizing?: HostedRegionSizing; fill (the default): the page's layout sets the height. content-height: the guest's page does.
label
readonly label?: string; The region's accessible name; without it, the guest page's title.
fallback
readonly fallback?: ReactNode | ((state: HostedRegionState) => ReactNode); What the region shows while no guest page shows in it: content, or a function of the region's state.
onStateChange
readonly onStateChange?: (state: HostedRegionState, previous: HostedRegionState) => void; No documentation.
onTitleChange
readonly onTitleChange?: (title: string | null) => void; The guest page's title as the host passed it on, or null.