More questions

This commit is contained in:
Belen Curcio
2017-07-06 13:09:43 -03:00
parent 60608af8b2
commit 99425e89ca
7 changed files with 94 additions and 5 deletions
@@ -0,0 +1,15 @@
import React from 'react';
import {Icon} from 'plugin-api/beta/client/components/ui';
class MyPluginComponent extends React.Component {
render() {
return (
<div>
<CoralLogo />
Plugin Created by Talk CLI
</div>
);
}
}
export default MyPluginComponent;
+8 -2
View File
@@ -1,6 +1,6 @@
/**
This is a client index example file and it should look like this:
This is a client index example file and it could look like this:
```
import LoveButton from './components/LoveButton';
@@ -17,4 +17,10 @@
To read more info on how to build client plugins. Please, go to: https://coralproject.github.io/talk/plugins-client.html
*/
export default {};
import MyPluginComponent from './components/MyPluginComponent';
export default {
slots: {
stream: [MyPluginComponent]
}
};