Virginie Ky e1e85ab452 card integration
Signed-off-by: Virginie Ky <virginie.ky@gmail.com>
2020-03-09 19:12:21 +01:00

31 lines
681 B
JavaScript

import styled from 'styled-components';
import PropTypes from 'prop-types';
import { themePropTypes } from 'strapi-helper-plugin';
const Wrapper = styled.div`
display: flex;
justify-content: center;
align-items: center;
width: 24px;
height: 24px;
margin-left: auto;
margin-right: 5px;
background-color: ${({ theme }) => theme.main.colors.white};
border: 1px solid #e3e9f3;
border-radius: ${({ theme }) => theme.main.sizes.borderRadius};
cursor: pointer;
font-size: 11px;
color: ${({ color }) => color};
`;
Wrapper.defaultProps = {
color: '#b3b5b9',
};
Wrapper.propTypes = {
color: PropTypes.string,
...themePropTypes,
};
export default Wrapper;