react-native-suno-pdf
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

react-native-suno-pdf

React native Suno Pdf generator

Installation

npm install react-native-suno-pdf

Usage

import { convert, PdfOption, PdfResult } from 'react-native-suno-pdf';

// ...

const option = new PdfOption({
  html: '<html><body><p>Test pdf generator</p></body></html>',
  fileName: 'sunopdfexample',
  directory: '/Android/data/com.sunopdfexample/cache',
  padding: 0,
});
const pdfResult: PdfResult = await convert(option);

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

Package Sidebar

Install

npm i react-native-suno-pdf

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

47.3 kB

Total Files

35

Last publish

Collaborators

  • auhonganh