This commit is contained in:
Belen Curcio
2017-07-20 11:50:13 -03:00
parent 8f820ace5b
commit eb3a9431f9
44 changed files with 157 additions and 157 deletions
+2 -2
View File
@@ -29,10 +29,10 @@ Tag Definitions must be created in order for the system to determine what tags a
Tag Definitions do not contain any logic themselves but provide information that other parts of the system can use to specify which models a tag can be applied to (models) and perform authorization logic (permissions).
Take the tag created by `coral-plugin-offtopic` as an example.
Take the tag created by `talk-plugin-offtopic` as an example.
```
// coral-plugin-offtopic/index.js
// talk-plugin-offtopic/index.js
module.exports = {
tags: [
{
+2 -2
View File
@@ -132,7 +132,7 @@ In this example we add our reaction component to the `commentReaction` Slot
```js
import React from 'react';
import {withReaction} from 'coral-plugin-api';
import {withReaction} from 'talk-plugin-api';
class LoveButton extends React.Component {
handleClick = () => {
@@ -175,7 +175,7 @@ This feature introduces `withReaction` HOC. `withReaction` takes, as argument,
* `count` - The reaction count
For full reference: Please, check `coral-plugin-love`: [LoveButton.js](https://github.com/coralproject/talk/blob/master/plugins/coral-plugin-love/client/LoveButton.js)
For full reference: Please, check `talk-plugin-love`: [LoveButton.js](https://github.com/coralproject/talk/blob/master/plugins/talk-plugin-love/client/LoveButton.js)
### Comment Stream
+2 -2
View File
@@ -132,7 +132,7 @@ In this example we add our reaction component to the `commentReaction` Slot
```js
import React from 'react';
import {withReaction} from 'coral-plugin-api';
import {withReaction} from 'talk-plugin-api';
class LoveButton extends React.Component {
handleClick = () => {
@@ -175,7 +175,7 @@ This feature introduces `withReaction` HOC. `withReaction` takes, as argument,
* `count` - The reaction count
For full reference: Please, check `coral-plugin-love`: [LoveButton.js](https://github.com/coralproject/talk/blob/master/plugins/coral-plugin-love/client/LoveButton.js)
For full reference: Please, check `talk-plugin-love`: [LoveButton.js](https://github.com/coralproject/talk/blob/master/plugins/talk-plugin-love/client/LoveButton.js)
### Comment Stream
+1 -1
View File
@@ -46,7 +46,7 @@ We can easily trigger `Talk` actions in our plugin Components.
import React, {Component} from 'react';
import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';
import {addTag, removeTag} from 'coral-plugin-commentbox/actions';
import {addTag, removeTag} from 'talk-plugin-commentbox/actions';
class MyButton extends Component {
render() {