import { CX } from '../../constants' import { getRandomInt } from '../../utils/numbers' import PlaceholderLayout from './placeholder_layout' export default class NotificationPlaceholder extends PureComponent { static propTypes = { isLast: PropTypes.bool, } render() { const { isLast } = this.props const classes = CX({ default: 1, px15: 1, py15: 1, borderColorSecondary: !isLast, borderBottom1PX: !isLast, }) const width1 = getRandomInt(100, 340) const width2 = getRandomInt(120, 320) const left = width2 + 30 return (
) } }