mirror of https://github.com/trezor/trezor-wallet
parent
288a81775d
commit
f5ddddc1fb
@ -0,0 +1,7 @@
|
|||||||
|
import PropTypes from 'prop-types';
|
||||||
|
|
||||||
|
export const DEVICE_PROP_TYPES = PropTypes.shape({
|
||||||
|
id: PropTypes.number.isRequired,
|
||||||
|
text: PropTypes.string.isRequired,
|
||||||
|
author: authorPropType.isRequired,
|
||||||
|
});
|
@ -1,30 +1,12 @@
|
|||||||
/* @flow */
|
|
||||||
|
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import React, { Component } from 'react';
|
import React from 'react';
|
||||||
import { NavLink } from 'react-router-dom';
|
|
||||||
|
|
||||||
type Props = {
|
|
||||||
pathname: string;
|
|
||||||
}
|
|
||||||
type State = {
|
|
||||||
style: {
|
|
||||||
width: number,
|
|
||||||
left: number
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
const Wrapper = styled.div``;
|
const Wrapper = styled.div``;
|
||||||
|
|
||||||
const AccountTabs = (props: any): any => {
|
const AccountTabs = () => (
|
||||||
const urlParams = props.match.params;
|
<Wrapper>
|
||||||
const basePath = `/device/${urlParams.device}/network/${urlParams.network}/account/${urlParams.account}`;
|
Device settings
|
||||||
|
</Wrapper>
|
||||||
return (
|
);
|
||||||
<Wrapper>
|
|
||||||
Device settings
|
|
||||||
</Wrapper>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
export default AccountTabs;
|
export default AccountTabs;
|
Loading…
Reference in new issue