import React from 'react' import PropTypes from 'prop-types' import { CX } from '../../constants' import { getRandomInt } from '../../utils/numbers' import PlaceholderLayout from './placeholder_layout' class AccountPlaceholder extends React.PureComponent { render() { const { isLast, isSmall } = this.props const classes = CX({ d: 1, px15: 1, py7: 1, borderColorSecondary: !isLast, borderBottom1PX: !isLast, }) const width = getRandomInt(120, 300) if (isSmall) { return (
) } return (
) } } AccountPlaceholder.propTypes = { isLast: PropTypes.bool, isSmall: PropTypes.bool, } export default AccountPlaceholder