diff --git a/client/src/Preview.js b/client/src/Preview.js index 12cebc7..5be6249 100644 --- a/client/src/Preview.js +++ b/client/src/Preview.js @@ -3,13 +3,20 @@ import React from 'react'; export default props => { if (props.pdfIsLoading) { return ( -
Lade...
+
Lade…
); } + const errorStyles = { + padding: '6px 12px', + color: 'white', + backgroundColor: '#d81e1e', + borderRadius: '3px', + }; + if (props.pdfError) { return ( -
{props.pdfError}
+
 {props.pdfError}
); }