1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-07-09 08:08:13 +00:00
trezor-wallet/src/views/Wallet/components/Title/index.js
2018-12-11 16:17:09 +01:00

27 lines
543 B
JavaScript

import React from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
import colors from 'config/colors';
import { FONT_SIZE, FONT_WEIGHT } from 'config/variables';
const Wrapper = styled.div`
font-size: ${FONT_SIZE.WALLET_TITLE};
font-weight: ${FONT_WEIGHT.MEDIUM};
color: ${colors.WALLET_TITLE};
padding-bottom: 35px;
`;
const Title = ({
children,
}) => (
<Wrapper>
{children}
</Wrapper>
);
Title.propTypes = {
children: PropTypes.string,
};
export default Title;