lbry-desktop/ui/modal/modalSupportsLiquidate/view.jsx
2020-09-29 17:12:32 -04:00

19 lines
499 B
JavaScript

// @flow
import React from 'react';
import { Modal } from 'modal/modal';
import SupportsLiquidate from 'component/supportsLiquidate';
type Props = {
closeModal: () => void,
uri: string,
};
export default function ModalSupportsLiquidate(props: Props) {
const { closeModal, uri } = props;
return (
<Modal isOpen contentLabel={'Unlock tips'} type="card" confirmButtonLabel="done" onAborted={closeModal}>
<SupportsLiquidate uri={uri} handleClose={closeModal} />
</Modal>
);
}