summaryrefslogtreecommitdiff
path: root/app/client/common/group.component.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-25 19:54:38 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-25 19:54:38 +0200
commit5a4de48a6d63cb383832f6ef85b21699a511b755 (patch)
tree4c4fd18d26f8b5c95a6788d138ed62869357c975 /app/client/common/group.component.js
parent1a99af129427275c22e8276e75fa4b8da6602129 (diff)
stubbing in a lot of stuff!
Diffstat (limited to 'app/client/common/group.component.js')
-rw-r--r--app/client/common/group.component.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/client/common/group.component.js b/app/client/common/group.component.js
new file mode 100644
index 0000000..5dc9ddf
--- /dev/null
+++ b/app/client/common/group.component.js
@@ -0,0 +1,10 @@
+import { h, Component } from 'preact'
+
+export default function Group (props){
+ return (
+ <div className='group'>
+ <h3>{this.props.title}</h3>
+ {this.props.children}
+ </div>
+ )
+}