<Menu
placement="top"
offset={5}
trigger={({ ...triggerProps }) => {
return (
<Button {...triggerProps}>
<ButtonText>
{meetingDate.toLocaleString()}
</ButtonText>
</Button>
);
}}
>
<MenuItem key="datetime" textValue="datetime">
<DateTimePicker
mode="single"
date={meetingDate}
onChange={({ date }) => {
setMeetingDate(date as Date);
}}
/>
</MenuItem>
</Menu>