lbry-desktop/ui/modal/modalChannelCreate/view.jsx

18 lines
397 B
React
Raw Normal View History

2019-12-05 23:27:26 +01:00
// @flow
import React from 'react';
import ChannelCreate from 'component/channelCreate';
import { Modal } from 'modal/modal';
type Props = { doHideModal: () => void };
const ChannelCreateModal = (props: Props) => {
const { doHideModal } = props;
return (
<Modal isOpen type="card" onAborted={doHideModal}>
<ChannelCreate />
</Modal>
);
};
export default ChannelCreateModal;