• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

DropDown태그가 안먹습니다

20.07.02 11:19 작성 조회수 113

0

<Dropzone
        onDrop
        multiple 
        maxSize>
          {({getRootProps, getInputProps})=>{
            <div style={{width : '300px', height :'240px', border:'1px solid lightgray', display : 'flex',
                  alignItems:'center', justifyContent:'center'}} {...getRootProps()}
            >
             <input {...getInputProps()}/>
             <icon type="plus" style={{fontSize : '3rem'}}/>
            </div>
          }}
</Dropzone>

답변 3

·

답변을 작성해보세요.

0

안녕하세요 ~~
혹시 마지막 문구 

Line 21:13:  Expected an assignment or function call and instead saw an expression  no-unused-expressions

이 에러 말씀하시는 건가요 ~ ?   저 부분은 무언가를 선언을 했는데 그걸 실제로는 쓰지 않고 있다는 겁니다~ 
그냥 경고 문구 같은건데요 ~ 실질적으로 프로그램부분에는 영향을 주지는 않습니다 ~ 

0

ᄌᄋᄀ님의 프로필

ᄌᄋᄀ

질문자

2020.07.02

Line 21:13:  Expected an assignment or function call and instead saw an expression  no-unused-expressions

0

ᄌᄋᄀ님의 프로필

ᄌᄋᄀ

질문자

2020.07.02

오류메시지가 뜹니다