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:
parent
70f4f3c6d5
commit
04d49a5ca5
@ -6,7 +6,7 @@ import styled from 'styled-components';
|
||||
import Icon from 'components/Icon';
|
||||
import colors from 'config/colors';
|
||||
import icons from 'config/icons';
|
||||
import Button from 'components/buttons/Button';
|
||||
import Button from 'components/Button';
|
||||
import Link from 'components/Link';
|
||||
import { findAccount } from 'reducers/AccountsReducer';
|
||||
|
||||
|
@ -3,7 +3,7 @@ import React, { Component } from 'react';
|
||||
import styled from 'styled-components';
|
||||
import { H3 } from 'components/Heading';
|
||||
import P from 'components/Paragraph';
|
||||
import Button from 'components/buttons/Button';
|
||||
import Button from 'components/Button';
|
||||
import Input from 'components/inputs/Input';
|
||||
import { getDuplicateInstanceNumber } from 'reducers/utils';
|
||||
import { FONT_SIZE } from 'config/variables';
|
||||
|
@ -2,7 +2,7 @@ import React, { Component } from 'react';
|
||||
import styled from 'styled-components';
|
||||
import { H3 } from 'components/Heading';
|
||||
import P from 'components/Paragraph';
|
||||
import Button from 'components/buttons/Button';
|
||||
import Button from 'components/Button';
|
||||
|
||||
const Wrapper = styled.div`
|
||||
width: 360px;
|
||||
|
@ -4,7 +4,7 @@ import styled from 'styled-components';
|
||||
import { H3 } from 'components/Heading';
|
||||
import P from 'components/Paragraph';
|
||||
import Loader from 'components/Loader';
|
||||
import Button from 'components/buttons/Button';
|
||||
import Button from 'components/Button';
|
||||
|
||||
import type { Props } from './index';
|
||||
|
||||
|
@ -7,7 +7,7 @@ import { FONT_SIZE } from 'config/variables';
|
||||
import { H2 } from 'components/Heading';
|
||||
import Link from 'components/Link';
|
||||
import Checkbox from 'components/Checkbox';
|
||||
import Button from 'components/buttons/Button';
|
||||
import Button from 'components/Button';
|
||||
import Input from 'components/inputs/Input';
|
||||
import styled from 'styled-components';
|
||||
|
||||
|
@ -6,7 +6,7 @@ import Link from 'components/Link';
|
||||
import colors from 'config/colors';
|
||||
import styled from 'styled-components';
|
||||
import PinInput from 'components/inputs/PinInput';
|
||||
import Button from 'components/buttons/Button';
|
||||
import Button from 'components/Button';
|
||||
import PinButton from './components/PinButton';
|
||||
import type { Props } from './index';
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import styled, { css } from 'styled-components';
|
||||
import Link from 'components/Link';
|
||||
import Button from 'components/buttons/Button';
|
||||
import Button from 'components/Button';
|
||||
import P from 'components/Paragraph';
|
||||
import { H2 } from 'components/Heading';
|
||||
|
||||
|
@ -4,7 +4,7 @@ import React, { Component } from 'react';
|
||||
import styled, { keyframes } from 'styled-components';
|
||||
import TrezorConnect from 'trezor-connect';
|
||||
import P from 'components/Paragraph';
|
||||
import Button from 'components/buttons/Button';
|
||||
import Button from 'components/Button';
|
||||
import { PULSATE } from 'config/animations';
|
||||
import colors from 'config/colors';
|
||||
import { FONT_SIZE, FONT_WEIGHT } from 'config/variables';
|
||||
|
@ -7,7 +7,7 @@ import { FONT_SIZE, FONT_WEIGHT } from 'config/variables';
|
||||
import installers from 'constants/bridge';
|
||||
import { Select } from 'components/Select';
|
||||
import Link from 'components/Link';
|
||||
import Button from 'components/buttons/Button';
|
||||
import Button from 'components/Button';
|
||||
import Loader from 'components/Loader';
|
||||
import P from 'components/Paragraph';
|
||||
import ICONS from 'config/icons';
|
||||
|
@ -4,7 +4,7 @@ import styled from 'styled-components';
|
||||
import TrezorConnect from 'trezor-connect';
|
||||
import type { TrezorDevice } from 'flowtype';
|
||||
import DeviceHeader from 'components/DeviceHeader';
|
||||
import Button from 'components/buttons/Button';
|
||||
import Button from 'components/Button';
|
||||
import { isWebUSB } from 'utils/device';
|
||||
import MenuItems from './components/MenuItems';
|
||||
import DeviceList from './components/DeviceList';
|
||||
|
@ -3,7 +3,7 @@ import styled from 'styled-components';
|
||||
import ColorHash from 'color-hash';
|
||||
import ScaleText from 'react-scale-text';
|
||||
import colors from 'config/colors';
|
||||
import Button from 'components/buttons/Button';
|
||||
import Button from 'components/Button';
|
||||
import ICONS from 'config/icons';
|
||||
import * as stateUtils from 'reducers/utils';
|
||||
import BigNumber from 'bignumber.js';
|
||||
|
@ -3,7 +3,7 @@ import styled from 'styled-components';
|
||||
import { H2 } from 'components/Heading';
|
||||
import Icon from 'components/Icon';
|
||||
import colors from 'config/colors';
|
||||
import Button from 'components/buttons/Button';
|
||||
import Button from 'components/Button';
|
||||
import ICONS from 'config/icons';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import styled from 'styled-components';
|
||||
import { H2 } from 'components/Heading';
|
||||
import Button from 'components/buttons/Button';
|
||||
import Button from 'components/Button';
|
||||
import Paragraph from 'components/Paragraph';
|
||||
import React from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
|
Loading…
Reference in New Issue
Block a user