import { CX } from '../../constants' import { getRandomInt } from '../../utils/numbers' import PlaceholderLayout from './placeholder_layout' export default class AccountPlaceholder extends PureComponent { static propTypes = { isLast: PropTypes.bool, isSmall: PropTypes.bool, } 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 (
) } }