aboutsummaryrefslogtreecommitdiff
path: root/src/components/Print/PrintableDoc.tsx
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-09-13 17:26:09 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-09-13 17:26:09 +0530
commitc1600045a243e3547fe589bfc7e474d2decaea4c (patch)
tree73b93eca3c76e2da5a55638794742a76f4927cde /src/components/Print/PrintableDoc.tsx
parent92b6da1d37da9232f1f40ac2526b189289049534 (diff)
moved interfaces to new folder
Diffstat (limited to 'src/components/Print/PrintableDoc.tsx')
-rw-r--r--src/components/Print/PrintableDoc.tsx40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/components/Print/PrintableDoc.tsx b/src/components/Print/PrintableDoc.tsx
deleted file mode 100644
index 67c8580..0000000
--- a/src/components/Print/PrintableDoc.tsx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * OpenBills - Self hosted browser app to generate and keep track of simple invoices
- * Version - 0
- * Licensed under the MIT license - https://opensource.org/licenses/MIT
- *
- * Copyright (c) 2021 Vidhu Kant Sharma
-*/
-
-import React, { /*useState,*/ } from "react";
-import "./Print.scss";
-import { Page, Text, View, Document, StyleSheet } from '@react-pdf/renderer';
-
-const styles = StyleSheet.create({
- page: {
- flexDirection: 'row',
- backgroundColor: '#E4E4E4'
- },
- section: {
- margin: 10,
- padding: 10,
- flexGrow: 1
- }
-});
-
-const PrintableDoc: React.FC = () => {
- return (
- <Document>
- <Page size="A4" style={styles.page}>
- <View style={styles.section}>
- <Text>Section #1</Text>
- </View>
- <View style={styles.section}>
- <Text>Section #2</Text>
- </View>
- </Page>
- </Document>
- );
-}
-
-export default PrintableDoc;