You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
594 B
28 lines
594 B
import styled from "styled-components";
|
|
|
|
export const StyledUpload = styled.div<{ $thumbnail?: boolean }>`
|
|
.ant-upload {
|
|
border: none !important;
|
|
}
|
|
.ant-upload-list {
|
|
display: ${(props) => (props.$thumbnail ? "flex" : "block")};
|
|
flex-wrap: wrap;
|
|
}
|
|
`;
|
|
|
|
export const StyledUploadAvatar = styled.div`
|
|
transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
.ant-upload,
|
|
.ant-upload-select {
|
|
border: none !important;
|
|
}
|
|
`;
|
|
|
|
export const StyledUploadBox = styled.div`
|
|
.ant-upload {
|
|
border: none !important;
|
|
}
|
|
.ant-upload-list {
|
|
display: none;
|
|
}
|
|
`;
|
|
|