inline-block
![[공통 컴포넌트,css]글자수 체크하는 Input창, x 초기화 버튼 Input, 테두리 겹치는 부분](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FcQxXDt%2FbtrLx1Gvv7s%2FaqlEFKvKsoNPQHvUJywoK0%2Fimg.gif)
[공통 컴포넌트,css]글자수 체크하는 Input창, x 초기화 버튼 Input, 테두리 겹치는 부분
글자수 체크하는 Input창 만들기 import { useState } from "react"; const CheckInput = ({ text = "체크 Input", typeClassName = "", sizeClassName = "", ...props }) => { const [length, setLength] = useState(0); const getTextLength = (event) => { setLength(event.target.value.length); // event.target.value의 길이로 설정 if (event.target.value.length >= props.maxLength) { // 자음 하나씩 더 입력돼서 11/10 이렇게 뜨길래 설정함 setLength(props..