add pdf-js viewer

This commit is contained in:
Thomas Ruoff
2017-02-18 01:04:47 +01:00
parent b9424abebf
commit 9a5d762a2e
7 changed files with 109 additions and 12 deletions

View File

@@ -0,0 +1,10 @@
import { h } from 'preact';
export default function(props) {
return (
<label>
{props.text}:
<input onChange={props.onChange.bind(null, props.name)} type="text" />
</label>
);
}