Attempting to get an edit modal to display without a re-render

This commit is contained in:
Dane Everitt 2020-02-11 23:23:06 -08:00
parent 40c377f2e0
commit f180e3ef0b
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 97 additions and 52 deletions

View file

@ -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>
);
};