First pass at new server console design

This commit is contained in:
DaneEveritt 2022-06-20 17:26:47 -04:00
parent 61018b5e67
commit faff263f17
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
9 changed files with 263 additions and 189 deletions

View file

@ -6,7 +6,7 @@ import { Button } from '@/components/elements/button/index';
type ConfirmationProps = Omit<DialogProps, 'description' | 'children'> & {
children: React.ReactNode;
confirm?: string | undefined;
onConfirmed: () => void;
onConfirmed: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
}
export default ({ confirm = 'Okay', children, onConfirmed, ...props }: ConfirmationProps) => {