feat: modal

This commit is contained in:
Nevo David 2024-03-12 00:17:57 +07:00
parent af0f816115
commit c8f51b758a
1 changed files with 3 additions and 3 deletions

View File

@ -265,7 +265,7 @@ const CalendarColumnRender: FC<{ day: number; hour: string }> = (props) => {
closeOnEscape: false,
withCloseButton: false,
classNames: {
modal: 'bg-transparent text-white !w-[auto]',
modal: 'bg-transparent text-white',
},
children: (
<ExistingDataContextProvider value={data}>
@ -277,7 +277,7 @@ const CalendarColumnRender: FC<{ day: number; hour: string }> = (props) => {
/>
</ExistingDataContextProvider>
),
size: 'dynamic',
size: '80%',
title: ``,
});
},
@ -293,7 +293,7 @@ const CalendarColumnRender: FC<{ day: number; hour: string }> = (props) => {
modal: 'bg-transparent text-white',
},
children: <AddEditModal integrations={integrations} date={getDate} />,
size: '80%'
size: '80%',
// title: `Adding posts for ${getDate.format('DD/MM/YYYY HH:mm')}`,
});
}, []);