lbry-desktop/ui/modal/modalMembershipSplash/view.jsx
mayeaux fb3a73d8a7
Membership subscriptions (#812)
Enter: Odysee Premium.
2022-03-09 13:05:37 -05:00

25 lines
580 B
JavaScript

// @flow
import React from 'react';
import { Modal } from 'modal/modal';
import MembershipSplash from 'component/membershipSplash';
type Props = {
closeModal: () => void,
uri: string,
claimIsMine: boolean,
isSupport: boolean,
};
class ModalSendTip extends React.PureComponent<Props> {
render() {
const { closeModal, uri, claimIsMine } = this.props;
return (
<Modal onAborted={closeModal} isOpen type="card">
<MembershipSplash uri={uri} claimIsMine={claimIsMine} onCancel={closeModal} />
</Modal>
);
}
}
export default ModalSendTip;