From 6c1a64efc1778059a742f0e47bf5653ff46fffce Mon Sep 17 00:00:00 2001 From: George Lima Date: Mon, 7 Jan 2019 15:06:57 -0300 Subject: [PATCH] feature: add onFocus event handler in input component --- app/components/input.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/components/input.js b/app/components/input.js index 9edd8bf..63536dc 100644 --- a/app/components/input.js +++ b/app/components/input.js @@ -29,6 +29,7 @@ type Props = { inputType?: 'input' | 'textarea', value: string, onChange: string => void, + onFocus?: (SyntheticFocusEvent) => void, rows?: number, disabled?: boolean, type?: string,