add plugins

This commit is contained in:
Belen Curcio
2017-03-28 15:56:24 -03:00
parent b76fa94354
commit 2513ef2df5
26 changed files with 567 additions and 288 deletions
@@ -0,0 +1,4 @@
{
"name": "Coral Plugin Love",
"slot": "Comment.InfoBar"
}
@@ -0,0 +1,8 @@
import React from 'react';
import styles from './style.css';
export default (props) => (
<div className={styles.Love}>
<button>Love</button>
</div>
);
@@ -0,0 +1,9 @@
.Love {
display: inline-block;
button {
padding: 10px 2px;
border-radius: 3px;
background: deepskyblue;
color: #161616;
}
}
View File
@@ -0,0 +1,4 @@
{
"name": "Coral Plugin Tab Monitor",
"slot": "Stream"
}
@@ -0,0 +1,12 @@
import React from 'react';
import {TabBar, Tab} from 'coral-ui';
console.log('exported');
export default (props) => (
<TabBar>
<Tab>
Monitor
</Tab>
</TabBar>
);
@@ -0,0 +1,4 @@
{
"name": "Coral Plugin Respect",
"slot": "Comment.Detail"
}
@@ -0,0 +1,9 @@
import React from 'react';
import styles from './style.css';
export default (props) => (
<div className={styles.Respect}>
<button>Respect</button>
</div>
);
@@ -0,0 +1,9 @@
.Respect {
display: inline-block;
button {
padding: 10px 2px;
border-radius: 3px;
background: #ffa16e;
color: #161616;
}
}
@@ -0,0 +1 @@
export const SomeAction = () => ({type: 'SomeAction'});
@@ -0,0 +1,3 @@
{
"name": "Coral Plugin"
}