[ui][dialog] make isShown prop required

pull/340/head
Yangshun Tay 2 years ago
parent c3c3dfceb5
commit 7f3275b705

@ -4,7 +4,7 @@ import { Dialog as HeadlessDialog, Transition } from '@headlessui/react';
type Props = Readonly<{
children: React.ReactNode;
isShown?: boolean;
isShown: boolean;
onClose: () => void;
primaryButton: React.ReactNode;
secondaryButton?: React.ReactNode;

Loading…
Cancel
Save