9faca8da2b
i18n messages, handle error case max copy copy update @lbry/components and tweak range styles sigfigs error catching and cleanup apply review changes style table and unlock button handle tip errors separate fileDescription from fileDetails make expandable cards ui tweaks tweak copy, style, behavior remove unused strings forgot an important line
19 lines
499 B
JavaScript
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>
|
|
);
|
|
}
|