You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
388 B
18 lines
388 B
import React from 'react'
|
|
import PropTypes from 'prop-types'
|
|
import { Box } from 'rebass'
|
|
import { Heading, Truncate } from 'components/UI'
|
|
|
|
const WalletHeader = ({ title }) => (
|
|
<Box>
|
|
<Heading.h1 fontSize="xxl">
|
|
<Truncate text={title} maxlen={25} />
|
|
</Heading.h1>
|
|
</Box>
|
|
)
|
|
|
|
WalletHeader.propTypes = {
|
|
title: PropTypes.string.isRequired
|
|
}
|
|
|
|
export default WalletHeader
|
|
|