@dopt/semantic-data-layer-modal
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

@dopt/semantic-data-layer-modal

An interface definition for Dopt's modal component.

export interface Modal {
  id: string;

  title: string | null | undefined;
  body: RichText | null | undefined;

  completeLabel: string | null | undefined;
  dismissLabel: string | null | undefined;

  active: boolean;

  completed: boolean;
  dismissed: boolean;

  complete: () => void;
  dismiss: () => void;
}

Readme

Keywords

none

Package Sidebar

Install

npm i @dopt/semantic-data-layer-modal

Weekly Downloads

497

Version

0.2.3

License

MIT

Unpacked Size

3.87 kB

Total Files

10

Last publish

Collaborators

  • kseth
  • alexchantastic
  • pankaj-avhad-dopt
  • chasebish
  • joemckenney