-
카테고리
-
세부 분야
프론트엔드
-
해결 여부
해결됨
interface Props 타입 넣는 법 질문
23.04.23 20:52 작성 23.04.23 20:52 수정 조회수 272
0
interface Props {
show: boolean;
onCloseModal: () => void;
style: CSSProperties;
closeButton?: boolean;
}
const Menu: FC<React.PropsWithChildren<{}>> = ({ children, style, show, onCloseModal, closeButton }) => {...}
이 상태에선 Props타입을 어떻게 넣어야 하는 건가요?
답변을 작성해보세요.
1
답변 1