bigbuffet-rw/app/soapbox/features/compose/containers/schedule-form-container.tsx

15 lines
474 B
TypeScript
Raw Normal View History

import React from 'react';
2022-11-16 05:32:32 -08:00
import BundleContainer from 'soapbox/features/ui/containers/bundle-container';
import { ScheduleForm } from 'soapbox/features/ui/util/async-components';
2022-11-15 09:23:36 -08:00
import type { IScheduleForm } from '../components/schedule-form';
const ScheduleFormContainer: React.FC<IScheduleForm> = (props) => (
<BundleContainer fetchComponent={ScheduleForm}>
{Component => <Component {...props} />}
</BundleContainer>
);
export default ScheduleFormContainer;