0.2.2 • Published 2 months ago
@dopt/semantic-data-layer-modal v0.2.2
@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;
}