fb3a73d8a7
Enter: Odysee Premium.
25 lines
580 B
JavaScript
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;
|