// @flow import { times } from "lodash"; import * as React from "react"; import styled from "styled-components"; import Fade from "components/Fade"; import Flex from "components/Flex"; import PlaceholderText from "components/PlaceholderText"; type Props = { count?: number, }; const ListPlaceHolder = ({ count }: Props) => { return ( {times(count || 2, (index) => ( ))} ); }; const Item = styled(Flex)` padding: 10px 0; `; export default ListPlaceHolder;