aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/actions/search.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-12-10 13:25:46 +0100
committerNoah Loomans <noahloomans@gmail.com>2017-12-10 13:25:46 +0100
commit9f6a36d1f1a16c1a777a23fcc8c986c45ee0a116 (patch)
treee79ccfcb2d8d07dd18b9fe202c227b350c51a94a /src/client/react/actions/search.js
parentedaa91d05e753e3609c00068f565b88c4ef77e62 (diff)
Add some basic styling
Diffstat (limited to 'src/client/react/actions/search.js')
-rw-r--r--src/client/react/actions/search.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/react/actions/search.js b/src/client/react/actions/search.js
index e50d851..53993d3 100644
--- a/src/client/react/actions/search.js
+++ b/src/client/react/actions/search.js
@@ -3,3 +3,8 @@ export const inputChange = typedValue => ({
type: 'SEARCH/INPUT_CHANGE',
typedValue,
});
+
+export const focusChange = hasFocus => ({
+ type: 'SEARCH/FOCUS_CHANGE',
+ hasFocus,
+});