chore: add js-doc (#275)

This commit is contained in:
doprz
2024-10-07 23:06:35 -05:00
committed by GitHub
parent 668c8d0075
commit b3632c0196
7 changed files with 22 additions and 5 deletions

View File

@@ -7,6 +7,10 @@ import Dialog from '../Dialog';
import Text from '../Text/Text';
type DialogElement = (show: boolean) => ReactNode;
/**
* Represents information for a prompt dialog
*/
export interface PromptInfo extends Omit<DialogInfo, 'buttons' | 'className' | 'title' | 'description'> {
title: JSX.Element | string;
description: JSX.Element | string;