Remove react-shared package and fold it into website
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { Link, Styles } from '@0x/react-shared';
|
||||
import { Link } from 'ts/components/documentation/shared/link';
|
||||
import * as React from 'react';
|
||||
import { Island } from 'ts/components/ui/island';
|
||||
import { colors } from 'ts/style/colors';
|
||||
import { Styles } from 'ts/types';
|
||||
|
||||
export interface BackButtonProps {
|
||||
to: string;
|
||||
|
@@ -1,4 +1,3 @@
|
||||
import { Styles } from '@0x/react-shared';
|
||||
import * as _ from 'lodash';
|
||||
import * as React from 'react';
|
||||
|
||||
@@ -7,7 +6,7 @@ import { defaultMenuItemEntries, Menu } from 'ts/components/portal/menu';
|
||||
import { Identicon } from 'ts/components/ui/identicon';
|
||||
import { Text } from 'ts/components/ui/text';
|
||||
import { colors } from 'ts/style/colors';
|
||||
import { ProviderType, WebsitePaths } from 'ts/types';
|
||||
import { ProviderType, Styles, WebsitePaths } from 'ts/types';
|
||||
import { utils } from 'ts/utils/utils';
|
||||
|
||||
const IDENTICON_DIAMETER = 45;
|
||||
|
@@ -1,9 +1,8 @@
|
||||
import { Styles } from '@0x/react-shared';
|
||||
import * as _ from 'lodash';
|
||||
import * as React from 'react';
|
||||
import { CustomMenuItem } from 'ts/components/ui/custom_menu_item';
|
||||
import { colors } from 'ts/style/colors';
|
||||
import { WebsitePaths } from 'ts/types';
|
||||
import { Styles, WebsitePaths } from 'ts/types';
|
||||
|
||||
export interface MenuTheme {
|
||||
paddingLeft: number;
|
||||
|
@@ -1,8 +1,9 @@
|
||||
import { colors, Link } from '@0x/react-shared';
|
||||
import { Link } from 'ts/components/documentation/shared/link';
|
||||
import { BigNumber } from '@0x/utils';
|
||||
import * as _ from 'lodash';
|
||||
import * as React from 'react';
|
||||
import { Redirect, Route, RouteComponentProps, Switch } from 'react-router-dom';
|
||||
import { colors } from 'ts/style/colors';
|
||||
|
||||
import { Blockchain } from 'ts/blockchain';
|
||||
import { ANNOUNCEMENT_BANNER_HEIGHT, AnnouncementBanner } from 'ts/components/annoucement_banner';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { colors } from '@0x/react-shared';
|
||||
import { colors } from 'ts/utils/colors';
|
||||
import * as React from 'react';
|
||||
|
||||
import { Text } from 'ts/components/ui/text';
|
||||
|
Reference in New Issue
Block a user