import { PaperWallet } from 'components'; import PrivKeyWallet from 'libs/wallet/privkey'; import React, { Component } from 'react'; import translate from 'translations'; import printElement from 'utils/printElement'; interface Props { wallet: PrivKeyWallet; } export default class PrintableWallet extends Component { public print = () => { printElement(, { popupFeatures: { scrollbars: 'no' }, styles: ` * { box-sizing: border-box; } body { font-family: Lato, sans-serif; font-size: 1rem; line-height: 1.4; margin: 0; } ` }); }; public render() { return (
{translate('x_Print')}
); } }