1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-22 05:51:18 +00:00

migrate notification to trezor-ui-components

This commit is contained in:
slowbackspace 2019-03-19 11:34:19 +01:00
parent 662448d8fa
commit 8dc1b752e0
8 changed files with 8 additions and 9 deletions

View File

@ -1,6 +1,6 @@
/* @flow */
import * as React from 'react';
import Notification from 'components/Notification';
import { Notification } from 'trezor-ui-components';
import type { Props } from '../../index';

View File

@ -1,6 +1,6 @@
/* @flow */
import * as React from 'react';
import Notification from 'components/Notification';
import { Notification } from 'trezor-ui-components';
import type { Props } from '../../index';
import l10nMessages from './index.messages';

View File

@ -1,6 +1,6 @@
/* @flow */
import * as React from 'react';
import Notification from 'components/Notification';
import { Notification } from 'trezor-ui-components';
import l10nCommonMessages from 'views/common.messages';
import type { Props } from '../../index';

View File

@ -1,6 +1,6 @@
/* @flow */
import * as React from 'react';
import Notification from 'components/Notification';
import { Notification } from 'trezor-ui-components';
import l10nCommonMessages from 'views/common.messages';
import { withRouter } from 'react-router-dom';
import { matchPath } from 'react-router';

View File

@ -1,6 +1,6 @@
/* @flow */
import * as React from 'react';
import Notification from 'components/Notification';
import { Notification } from 'trezor-ui-components';
import l10nMessages from './index.messages';
import type { Props } from '../../index';

View File

@ -1,9 +1,8 @@
/* @flow */
import * as React from 'react';
import Notification from 'components/Notification';
import { Notification, Link } from 'trezor-ui-components';
import Bignumber from 'bignumber.js';
import { Link } from 'trezor-ui-components';
import { FormattedMessage } from 'react-intl';
import l10nCommonMessages from 'views/common.messages';
import l10nMessages from './index.messages';

View File

@ -2,7 +2,7 @@
import React from 'react';
import styled from 'styled-components';
import Notification from 'components/Notification';
import { Notification } from 'trezor-ui-components';
const Wrapper = styled.div`
width: 100%;

View File

@ -2,7 +2,7 @@
import React from 'react';
import styled from 'styled-components';
import Notification from 'components/Notification';
import { Notification } from 'trezor-ui-components';
import { injectIntl } from 'react-intl';
import l10nMessages from './index.messages';