aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search/IconBar.tsx
diff options
context:
space:
mode:
authormadelinegr <monika_hedman@brown.edu>2019-06-18 16:38:00 -0400
committermadelinegr <monika_hedman@brown.edu>2019-06-18 16:38:00 -0400
commit56f455334cc41efd3d75ddb1b595caa78c5510bc (patch)
treede7bfdaf7bf434ef964871f2f528894108df559e /src/client/views/search/IconBar.tsx
parente044f9cd566729a6316c956f34000a164cbc6650 (diff)
about to make a big change to togglebar
Diffstat (limited to 'src/client/views/search/IconBar.tsx')
-rw-r--r--src/client/views/search/IconBar.tsx11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/client/views/search/IconBar.tsx b/src/client/views/search/IconBar.tsx
index 9f8f26e82..4741359d0 100644
--- a/src/client/views/search/IconBar.tsx
+++ b/src/client/views/search/IconBar.tsx
@@ -27,15 +27,8 @@ library.add(faChartBar);
library.add(faGlobeAsia);
library.add(faBan);
-export interface IconBarProps {
- updateIcon(icons: string[]): void;
- getIcons(): string[]
- allIcons: string[];
- updateSelected(list: any[]): void;
-}
-
@observer
-export class IconBar extends React.Component<IconBarProps> {
+export class IconBar extends React.Component {
static Instance: IconBar;
@@ -45,7 +38,7 @@ export class IconBar extends React.Component<IconBarProps> {
public Reset: number = 0;
public Select: number = 0;
- constructor(props: IconBarProps) {
+ constructor(props: any) {
super(props);
IconBar.Instance = this;
}