Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
// @flow
import theme from 'shared/theme';
import React from 'react';
import compose from 'recompose/compose';
import styled from 'styled-components';
import { FlexCol } from '../globals';
import { MEDIA_BREAK } from 'src/components/layout';
const StyledCard = styled(FlexCol)`
background: ${theme.bg.default};
position: relative;
width: 100%;
max-width: 100%;
background-clip: padding-box;
overflow: visible;
flex: none;
@media (max-width: ${MEDIA_BREAK}px) {
border-radius: 0;
box-shadow: none;
}
`;
const CardPure = (props: Object): React$Element<any> => (
<StyledCard {...props}>{props.children}</StyledCard>
);
export const Card = compose()(CardPure);
export default Card;