
...
const ImageUploadButton = ({ className, setUploadImg, uploadImg, inputRef }) => {
......
return (
...
  <ImgUploadButton
    uploadImg={postImages}
    setUploadImg={setUploadImg}
    // μ€λ²λΌμ΄λλ₯Ό μνμ¬ className μ λΆμ¬ ( λΆμ¬ν μ΄μ λ styled-component κ° μ€νμΌμ μ μ©νλ λ°©μμ μ΄ν΄νλ€λ©΄ μ μ μλ€. )
    className={className}
    inputRef={inputRef}
  />
...
...
const ImgUploadButton = styled(ImageUploadButton)`
  position: fixed;
  margin-left: 26.6rem;
  bottom: 1.6rem;
  width: 5rem;
  height: 5rem;
  background-image: url(${UPLOAD_FILE_ICON});
  background-position: center;
  background-size: cover;
  cursor: pointer;
  z-index: 100;
`;νΉμ λ΄κ° μ μ 곡λΆν λ΄μ©μ λ무 νμ©νκ³ μ νλ λ§μμ΄ μ»€μ κ΅³μ΄ μ€λ²λΌμ΄λ©μ μ¬μ©νλμ§ λμ보μμΌ νλ€.