mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-13 05:07:12 +01:00
17 lines
357 B
JavaScript
17 lines
357 B
JavaScript
|
import React, { Component } from 'react'
|
||
|
import PropTypes from 'prop-types'
|
||
|
|
||
|
export default class TokenBalance extends Component {
|
||
|
static propTypes = {
|
||
|
string: PropTypes.string,
|
||
|
symbol: PropTypes.string,
|
||
|
error: PropTypes.string,
|
||
|
}
|
||
|
|
||
|
render () {
|
||
|
return (
|
||
|
<div className="hide-text-overflow">{ this.props.string }</div>
|
||
|
)
|
||
|
}
|
||
|
}
|