allow search to be auto-focused

pull/163/head^2
Ben Phelps 2 years ago
parent db18519c16
commit 3c2880e4ba

@ -69,6 +69,8 @@ export default function Search({ options }) {
autoCapitalize="off" autoCapitalize="off"
autoCorrect="off" autoCorrect="off"
autoComplete="off" autoComplete="off"
// eslint-disable-next-line jsx-a11y/no-autofocus
autoFocus={options.focus}
/> />
<button <button
type="submit" type="submit"

Loading…
Cancel
Save