lbry-desktop/ui/modal/modalChannelCreate/view.jsx
Sean Yesmunt e00f89b890 cleanup
2019-12-09 10:04:07 -05:00

18 lines
416 B
JavaScript

// @flow
import React from 'react';
import ChannelForm from 'component/channelForm';
import { Modal } from 'modal/modal';
type Props = { doHideModal: () => void };
const ModalChannelCreate = (props: Props) => {
const { doHideModal } = props;
return (
<Modal isOpen type="card" onAborted={doHideModal}>
<ChannelForm onSuccess={doHideModal} />
</Modal>
);
};
export default ModalChannelCreate;