Skip to content

Commit

Permalink
fixup! fixup! feat: add PDF component library
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Sep 8, 2024
1 parent 770fcfc commit 24ca255
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion packages/component-library-pdf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
},
"scripts": {
"clean": "rimraf dist/",
"build": "tsx src/index.tsx",
"install-prince": "( cd node_modules/prince && npm run install )",
"lint-build": "tsc --noEmit --project tsconfig.json",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
Expand Down
3 changes: 0 additions & 3 deletions packages/component-library-pdf/src/index.tsx

This file was deleted.

12 changes: 0 additions & 12 deletions packages/component-library-pdf/src/lib.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,3 @@ export const renderPdf = async ({
pdf: pdfFile,
};
};

export const init = async () => {
const stories: any[] = [];

stories.forEach(async ({ id, lang, render }) => {
renderPdf({
id,
lang,
render,
});
});
};

0 comments on commit 24ca255

Please sign in to comment.