Add common component and helpers

This commit is contained in:
2023-10-26 16:49:16 +07:00
parent f9f5990a4a
commit bd407bb933
10 changed files with 140 additions and 5 deletions
@@ -19,3 +19,10 @@ export interface ITableBody<T> {
data?: T[];
render?: (value: T) => JSX.Element;
}
export interface IDialogProps {
title?: string;
children?: JSX.Element[] | JSX.Element;
onClose?: () => void;
ref?: React.MutableRefObject<HTMLDialogElement | undefined>;
}