mirror of
https://github.com/strapi/strapi.git
synced 2025-10-01 19:36:23 +00:00
22 lines
510 B
JavaScript
22 lines
510 B
JavaScript
import styled from 'styled-components';
|
|
|
|
const EmptyInputMedia = styled.div`
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-radius: ${({ theme }) => theme.main.sizes.borderRadius};
|
|
background-color: ${({ theme }) => theme.main.colors.black};
|
|
cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};
|
|
`;
|
|
|
|
EmptyInputMedia.defaultProps = {
|
|
disabled: false,
|
|
};
|
|
|
|
export default EmptyInputMedia;
|