aboutsummaryrefslogtreecommitdiff
path: root/src/actions/follow.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/follow.js')
-rw-r--r--src/actions/follow.js29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/actions/follow.js b/src/actions/follow.js
new file mode 100644
index 0000000..7ab689e
--- /dev/null
+++ b/src/actions/follow.js
@@ -0,0 +1,29 @@
+import actions from '../actions';
+
+const enable = (newTab) => {
+ return {
+ type: actions.FOLLOW_ENABLE,
+ newTab,
+ };
+};
+
+const disable = () => {
+ return {
+ type: actions.FOLLOW_DISABLE,
+ };
+};
+
+const keyPress = (key) => {
+ return {
+ type: actions.FOLLOW_KEY_PRESS,
+ key: key
+ };
+};
+
+const backspace = () => {
+ return {
+ type: actions.FOLLOW_BACKSPACE,
+ };
+};
+
+export { enable, disable, keyPress, backspace };