1.0.14 • Published 4 years ago

react-simple-invoice v1.0.14

Weekly downloads
33
License
MIT
Repository
github
Last release
4 years ago

React simple invoice

A React component inspired by this simple HTML invoice template (https://github.com/sparksuite/simple-html-invoice-template).

Server-side usage

import express from 'express';
import React from 'react';
import { renderToStaticMarkup } from 'react-dom/server';
import { Invoice } from 'react-simple-invoice';

const app = express()

app.get('/', (req, res) => {
  const html = renderToStaticMarkup(
    <Invoice
      invoice={invoice}
      customer={customer}
      company={company}
    />
  );

  res.send(`<!doctype html>${html}`);
});
1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

6 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago