Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit 14e76ab

Browse files
moved icons out of components
1 parent 01f0c55 commit 14e76ab

File tree

14 files changed

+13
-13
lines changed

14 files changed

+13
-13
lines changed

src/SqlStreamStoreBrowser.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {
2525
LightbulbFull,
2626
LightbulbOutline,
2727
SqlStreamStore,
28-
} from './components/Icons';
28+
} from './icons';
2929
import { connect, createState } from './reactive';
3030
import { actions, store, Viewer } from './stream-store';
3131
import themes from './themes';

src/components/HyperMediaControls/HelpButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
withStyles,
77
} from '@material-ui/core';
88
import { withAuthorization } from 'components/AuthorizationProvider';
9-
import { Help } from 'components/Icons';
9+
import { Help } from 'icons';
1010
import React, { ComponentType, PureComponent, ReactNode } from 'react';
1111
import Remarkable from 'react-remarkable';
1212
import { HalLink } from 'types';

src/components/HyperMediaControls/UuidField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Button, TextField } from '@material-ui/core';
2-
import { SpaceBar } from 'components/Icons';
2+
import { SpaceBar } from 'icons';
33
import React from 'react';
44
import {
55
ComposedComponent,

src/components/Notifications.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
} from '@material-ui/core';
1010
import { amber, blue, green, red } from '@material-ui/core/colors';
1111
import classNames from 'classnames';
12-
import { CheckCircle, Close, Error, Info, Warning } from 'components/Icons';
12+
import { CheckCircle, Close, Error, Info, Warning } from 'icons';
1313
import React, { ComponentType, createElement, ReactNode } from 'react';
1414
import { connect, createAction, createState } from 'reactive';
1515
import { Observable as obs } from 'rxjs';

src/components/RelIcon.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import { SvgIconProps } from '@material-ui/core/SvgIcon';
2-
import { ComponentType, createElement } from 'react';
3-
import { rels } from 'stream-store';
42
import {
53
ChevronLeft,
64
ChevronRight,
@@ -15,7 +13,9 @@ import {
1513
Search,
1614
Settings,
1715
SqlStreamStore,
18-
} from './Icons';
16+
} from 'icons';
17+
import { ComponentType, createElement } from 'react';
18+
import { rels } from 'stream-store';
1919

2020
const fontIconByRel = {
2121
[rels.first]: FirstPage,

src/components/StripeyTable/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
} from '@material-ui/core';
1212
import { TableProps } from '@material-ui/core/Table';
1313
import { TableRowProps } from '@material-ui/core/TableRow';
14-
import React, {PureComponent} from 'react';
14+
import React, { PureComponent } from 'react';
1515

1616
const TableCell = withStyles(theme => ({
1717
head: {
@@ -45,8 +45,8 @@ class StripeyTable extends PureComponent<TableProps> {
4545
static Footer = TableFooter;
4646

4747
render() {
48-
return (<Table {...this.props} />)
48+
return <Table {...this.props} />;
4949
}
5050
}
5151

52-
export default StripeyTable;
52+
export default StripeyTable;

src/components/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ export { NavigationProvider, withNavigation };
1111
export { default as Notifications } from './Notifications';
1212
export { default as StreamBrowser } from './StreamBrowser';
1313
export { default as mount } from './mount';
14-
export { default as Table } from './StripeyTable';
14+
export { default as Table } from './StripeyTable';

0 commit comments

Comments
 (0)