import { Button } from '@/components/ui/button' import { Dialog, DialogContent, DialogDescription, DialogTitle, DialogTrigger } from '@/components/ui/dialog' type Props = { visible: boolean onVisibleChange: (visible: boolean) => void user: User | null } export default ({ visible, onVisibleChange, user }: Props) => { return ( 引継ぎコード

あなたの引継ぎコードはこちらです:

{user?.inheritanceCode}

このコードはほかの人には教えないでください!

) }