@smitch/fluid
Version:
A Next/React ui-component libray.
14 lines (13 loc) • 428 B
TypeScript
/// <reference types="react" />
export interface DialogProps extends React.HTMLAttributes<HTMLDialogElement> {
open: boolean;
modal?: boolean;
showClose?: boolean;
onClose: () => void;
submit?: (e: React.FormEvent<HTMLFormElement>) => void;
title?: string;
titleSize?: 'sm' | 'md' | 'lg' | 'xl';
closeBtnSize?: 'sm' | 'md' | 'lg' | 'xl';
titleBold?: boolean;
children: React.ReactNode;
}