import { CX } from '../../constants' import { getRandomInt } from '../../utils/numbers' import PlaceholderLayout from './placeholder_layout' class AccountPlaceholder extends PureComponent { render() { const { isLast, isSmall } = this.props const classes = CX({ default: 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