How to use react-native-print - 3 common examples

To help you get started, we’ve selected a few react-native-print examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github iotaledger / trinity-wallet / src / mobile / src / ui / views / onboarding / PrintBlankTemplate.js View on Github external
buttonColor: '#ffffff',
                    drawBehind: true,
                    noBorder: true,
                    title: {
                        color: '#ffffff',
                    },
                    backButton: {
                        visible: false,
                    },
                    background: {
                        color: body.bg,
                        translucent: true,
                    },
                },
            });
            await RNPrint.print({ html: blankWalletHTML });
            this.onNextPress();
        } catch (err) {
            console.error(err); // eslint-disable-line no-console
        }
    }
github iotaledger / trinity-wallet / src / mobile / containers / WriteSeedDown.js View on Github external
}
                  svg{
                     height: ${isAndroid ? '100vh' : '110vh'};
                     width: 100vw;
                  }
               
            
            
              ${paperWallet}
            
            `;
        try {
            this.props.navigator.toggleNavBar({
                to: 'shown',
            });
            await RNPrint.print({ html: blankWalletHTML });
        } catch (err) {
            console.error(err);
        }
    }
github iotaledger / trinity-wallet / src / mobile / src / ui / views / onboarding / SaveYourSeed.js View on Github external
buttonColor: '#ffffff',
                            drawBehind: true,
                            noBorder: true,
                            title: {
                                color: '#ffffff',
                            },
                            backButton: {
                                visible: true,
                            },
                            background: {
                                color: body.bg,
                                translucent: true,
                            },
                        },
                    });
                    RNPrint.print({ html: paperWalletHTML });
                },
                500,

react-native-print

Print documents with React Native

MIT
Latest version published 2 years ago

Package Health Score

53 / 100
Full package analysis

Popular react-native-print functions