import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; import { skins, SKIN_DARK } from 'components/ui'; import styles from './componentLoader.scss'; export default function ComponentLoader(props) { const {skin} = props; return (
{new Array(5).fill(0).map((_, index) => (
))}
); } ComponentLoader.propTypes = { skin: PropTypes.oneOf(skins), }; ComponentLoader.defaultProps = { skin: SKIN_DARK };