mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-08-01 09:13:27 +08:00
[ui][dialog] make isShown prop required
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user