Attempting to get an edit modal to display without a re-render
This commit is contained in:
parent
40c377f2e0
commit
f180e3ef0b
4 changed files with 97 additions and 52 deletions
|
@ -0,0 +1,15 @@
|
|||
import React from 'react';
|
||||
import { Schedule } from '@/api/server/schedules/getServerSchedules';
|
||||
import Modal, { RequiredModalProps } from '@/components/elements/Modal';
|
||||
|
||||
type Props = {
|
||||
schedule?: Schedule;
|
||||
} & RequiredModalProps;
|
||||
|
||||
export default ({ schedule, ...props }: Props) => {
|
||||
return (
|
||||
<Modal {...props}>
|
||||
<p>Testing</p>
|
||||
</Modal>
|
||||
);
|
||||
};
|
Reference in a new issue