From 997239e74ddb2ce3bd159222664c42f8978d5286 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 1 Jun 2017 18:11:31 -0400 Subject: printer socket io and stuff --- lib/awprint/client/components/Modal.jsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lib/awprint/client/components/Modal.jsx (limited to 'lib/awprint/client/components/Modal.jsx') diff --git a/lib/awprint/client/components/Modal.jsx b/lib/awprint/client/components/Modal.jsx new file mode 100644 index 0000000..d3cac86 --- /dev/null +++ b/lib/awprint/client/components/Modal.jsx @@ -0,0 +1,14 @@ +import React, { Component } from 'react' + +export default class Modal extends Component { + render() { + let className = this.props.visible ? 'modal visible' : 'modal' + return ( +
+
+ {this.props.children} +
+
+ ) + } +} -- cgit v1.2.3-70-g09d2