styles.ts 590 B

12345678910111213141516171819202122232425262728
  1. import styled from 'styled-components'
  2. export const StyledUpload = styled.div<{ $thumbnail?: boolean }>`
  3. .ant-upload {
  4. border: none !important;
  5. }
  6. .ant-upload-list {
  7. display: ${(props) => (props.$thumbnail ? 'flex' : 'block')};
  8. flex-wrap: wrap;
  9. }
  10. `
  11. export const StyledUploadAvatar = styled.div`
  12. transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  13. .ant-upload,
  14. .ant-upload-select {
  15. border: none !important;
  16. }
  17. `
  18. export const StyledUploadBox = styled.div`
  19. .ant-upload {
  20. border: none !important;
  21. }
  22. .ant-upload-list {
  23. display: none;
  24. }
  25. `