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 React, { Component } from 'react';
|
||||
import { NavLink } from 'react-router-dom';
|
||||
|
||||
type Props = {
|
||||
pathname: string;
|
||||
}
|
||||
type State = {
|
||||
style: {
|
||||
width: number,
|
||||
left: number
|
||||
};
|
||||
}
|
||||
import React from 'react';
|
||||
|
||||
const Wrapper = styled.div``;
|
||||
|
||||
const AccountTabs = (props: any): any => {
|
||||
const urlParams = props.match.params;
|
||||
const basePath = `/device/${urlParams.device}/network/${urlParams.network}/account/${urlParams.account}`;
|
||||
|
||||
return (
|
||||
<Wrapper>
|
||||
Device settings
|
||||
</Wrapper>
|
||||
);
|
||||
};
|
||||
const AccountTabs = () => (
|
||||
<Wrapper>
|
||||
Device settings
|
||||
</Wrapper>
|
||||
);
|
||||
|
||||
export default AccountTabs;
|
Loading…
Reference in new issue