tuil
ReferencePackages@mwillbanks/tuil-inkAPI

OverlayProps

interface exported by @mwillbanks/tuil-ink.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-ink.

export interface OverlayProps {
  readonly id: string;
  readonly open: boolean;
  readonly dismissOnEscape?: boolean;
  readonly onDismiss?: () => void | Promise<void>;
  readonly children?: ReactNode;
}

Members

MemberTypeRequiredDescriptionRelated types
idstringYesThe id member uses the string contract.
openbooleanYesThe open member uses the boolean contract.
dismissOnEscapeboolean | undefinedNoThe dismissOnEscape member uses the boolean | undefined contract.
onDismiss(() => void | Promise<void>) | undefinedNoThe onDismiss member uses the (() => void | Promise<void>) | undefined contract.
childrenReactNodeNoThe children member uses the ReactNode contract.

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-ink

On this page