flow: Correctly type Theme

This commit is contained in:
Tom Moor
2020-11-09 00:01:50 -08:00
parent 26f4901547
commit 71e9860f88
10 changed files with 21 additions and 11 deletions

View File

@ -7,11 +7,12 @@ import keydown from "react-keydown";
import { withRouter, type RouterHistory } from "react-router-dom";
import styled, { withTheme } from "styled-components";
import Input from "./Input";
import { type Theme } from "types";
import { searchUrl } from "utils/routeHelpers";
type Props = {
history: RouterHistory,
theme: Object,
theme: Theme,
source: string,
placeholder?: string,
collectionId?: string,