반응형 muistyle1 Mui 스타일 설정 Mui 컴포넌트 style설정하는법, 텍스트 Area 사이즈를 조정하고 싶다거나, Margin을주고싶다거나 할때 style={{ width: 200 }} 속성을 사용해주면 된다. {setSearch(event.target.value)}} onKeyPress={(e) => { if (e.key === "Enter") { router.push( { pathname: "/SearchTextResult", query: { textResult: search, }, }, `/SearchTextResult` ); } }} /> 이와같이 텍스트필드 사이즈를 조절할때 위와같이 style={{width:150}}으로 사용해 주었고 { router.push( { pathname: "/SearchTextResult", que.. 2022. 3. 31. 이전 1 다음 반응형