1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-24 09:18:09 +00:00

Delete "buttons" folder and move "Button" at the root of "components/"

This commit is contained in:
Vasek Mlejnsky 2018-09-04 11:33:24 +02:00
parent 70f4f3c6d5
commit 04d49a5ca5
14 changed files with 13 additions and 13 deletions

View File

@ -6,7 +6,7 @@ import styled from 'styled-components';
import Icon from 'components/Icon'; import Icon from 'components/Icon';
import colors from 'config/colors'; import colors from 'config/colors';
import icons from 'config/icons'; import icons from 'config/icons';
import Button from 'components/buttons/Button'; import Button from 'components/Button';
import Link from 'components/Link'; import Link from 'components/Link';
import { findAccount } from 'reducers/AccountsReducer'; import { findAccount } from 'reducers/AccountsReducer';

View File

@ -3,7 +3,7 @@ import React, { Component } from 'react';
import styled from 'styled-components'; import styled from 'styled-components';
import { H3 } from 'components/Heading'; import { H3 } from 'components/Heading';
import P from 'components/Paragraph'; import P from 'components/Paragraph';
import Button from 'components/buttons/Button'; import Button from 'components/Button';
import Input from 'components/inputs/Input'; import Input from 'components/inputs/Input';
import { getDuplicateInstanceNumber } from 'reducers/utils'; import { getDuplicateInstanceNumber } from 'reducers/utils';
import { FONT_SIZE } from 'config/variables'; import { FONT_SIZE } from 'config/variables';

View File

@ -2,7 +2,7 @@ import React, { Component } from 'react';
import styled from 'styled-components'; import styled from 'styled-components';
import { H3 } from 'components/Heading'; import { H3 } from 'components/Heading';
import P from 'components/Paragraph'; import P from 'components/Paragraph';
import Button from 'components/buttons/Button'; import Button from 'components/Button';
const Wrapper = styled.div` const Wrapper = styled.div`
width: 360px; width: 360px;

View File

@ -4,7 +4,7 @@ import styled from 'styled-components';
import { H3 } from 'components/Heading'; import { H3 } from 'components/Heading';
import P from 'components/Paragraph'; import P from 'components/Paragraph';
import Loader from 'components/Loader'; import Loader from 'components/Loader';
import Button from 'components/buttons/Button'; import Button from 'components/Button';
import type { Props } from './index'; import type { Props } from './index';

View File

@ -7,7 +7,7 @@ import { FONT_SIZE } from 'config/variables';
import { H2 } from 'components/Heading'; import { H2 } from 'components/Heading';
import Link from 'components/Link'; import Link from 'components/Link';
import Checkbox from 'components/Checkbox'; import Checkbox from 'components/Checkbox';
import Button from 'components/buttons/Button'; import Button from 'components/Button';
import Input from 'components/inputs/Input'; import Input from 'components/inputs/Input';
import styled from 'styled-components'; import styled from 'styled-components';

View File

@ -6,7 +6,7 @@ import Link from 'components/Link';
import colors from 'config/colors'; import colors from 'config/colors';
import styled from 'styled-components'; import styled from 'styled-components';
import PinInput from 'components/inputs/PinInput'; import PinInput from 'components/inputs/PinInput';
import Button from 'components/buttons/Button'; import Button from 'components/Button';
import PinButton from './components/PinButton'; import PinButton from './components/PinButton';
import type { Props } from './index'; import type { Props } from './index';

View File

@ -1,7 +1,7 @@
import React from 'react'; import React from 'react';
import styled, { css } from 'styled-components'; import styled, { css } from 'styled-components';
import Link from 'components/Link'; import Link from 'components/Link';
import Button from 'components/buttons/Button'; import Button from 'components/Button';
import P from 'components/Paragraph'; import P from 'components/Paragraph';
import { H2 } from 'components/Heading'; import { H2 } from 'components/Heading';

View File

@ -4,7 +4,7 @@ import React, { Component } from 'react';
import styled, { keyframes } from 'styled-components'; import styled, { keyframes } from 'styled-components';
import TrezorConnect from 'trezor-connect'; import TrezorConnect from 'trezor-connect';
import P from 'components/Paragraph'; import P from 'components/Paragraph';
import Button from 'components/buttons/Button'; import Button from 'components/Button';
import { PULSATE } from 'config/animations'; import { PULSATE } from 'config/animations';
import colors from 'config/colors'; import colors from 'config/colors';
import { FONT_SIZE, FONT_WEIGHT } from 'config/variables'; import { FONT_SIZE, FONT_WEIGHT } from 'config/variables';

View File

@ -7,7 +7,7 @@ import { FONT_SIZE, FONT_WEIGHT } from 'config/variables';
import installers from 'constants/bridge'; import installers from 'constants/bridge';
import { Select } from 'components/Select'; import { Select } from 'components/Select';
import Link from 'components/Link'; import Link from 'components/Link';
import Button from 'components/buttons/Button'; import Button from 'components/Button';
import Loader from 'components/Loader'; import Loader from 'components/Loader';
import P from 'components/Paragraph'; import P from 'components/Paragraph';
import ICONS from 'config/icons'; import ICONS from 'config/icons';

View File

@ -4,7 +4,7 @@ import styled from 'styled-components';
import TrezorConnect from 'trezor-connect'; import TrezorConnect from 'trezor-connect';
import type { TrezorDevice } from 'flowtype'; import type { TrezorDevice } from 'flowtype';
import DeviceHeader from 'components/DeviceHeader'; import DeviceHeader from 'components/DeviceHeader';
import Button from 'components/buttons/Button'; import Button from 'components/Button';
import { isWebUSB } from 'utils/device'; import { isWebUSB } from 'utils/device';
import MenuItems from './components/MenuItems'; import MenuItems from './components/MenuItems';
import DeviceList from './components/DeviceList'; import DeviceList from './components/DeviceList';

View File

@ -3,7 +3,7 @@ import styled from 'styled-components';
import ColorHash from 'color-hash'; import ColorHash from 'color-hash';
import ScaleText from 'react-scale-text'; import ScaleText from 'react-scale-text';
import colors from 'config/colors'; import colors from 'config/colors';
import Button from 'components/buttons/Button'; import Button from 'components/Button';
import ICONS from 'config/icons'; import ICONS from 'config/icons';
import * as stateUtils from 'reducers/utils'; import * as stateUtils from 'reducers/utils';
import BigNumber from 'bignumber.js'; import BigNumber from 'bignumber.js';

View File

@ -3,7 +3,7 @@ import styled from 'styled-components';
import { H2 } from 'components/Heading'; import { H2 } from 'components/Heading';
import Icon from 'components/Icon'; import Icon from 'components/Icon';
import colors from 'config/colors'; import colors from 'config/colors';
import Button from 'components/buttons/Button'; import Button from 'components/Button';
import ICONS from 'config/icons'; import ICONS from 'config/icons';
import { connect } from 'react-redux'; import { connect } from 'react-redux';

View File

@ -1,6 +1,6 @@
import styled from 'styled-components'; import styled from 'styled-components';
import { H2 } from 'components/Heading'; import { H2 } from 'components/Heading';
import Button from 'components/buttons/Button'; import Button from 'components/Button';
import Paragraph from 'components/Paragraph'; import Paragraph from 'components/Paragraph';
import React from 'react'; import React from 'react';
import { connect } from 'react-redux'; import { connect } from 'react-redux';