[Style] Modal 컴포넌트 제작 #59
Annotations
5 errors
build:
src/components/common/Modal/index.tsx#L34
Property 'isDarkMode' is missing in type '{ children: string; normalButtonType: "modal-accept"; style: { margin: number; }; onClick: () => void; }' but required in type '{ normalButtonType: NormalButtonType; isDarkMode: boolean; }'.
|
build:
src/components/common/Modal/index.tsx#L41
Property 'isDarkMode' is missing in type '{ children: string; normalButtonType: "modal-deny"; style: { margin: number; }; onClick: () => void; }' but required in type '{ normalButtonType: NormalButtonType; isDarkMode: boolean; }'.
|
build:
src/components/common/Modal/index.tsx#L51
Property 'isDarkMode' is missing in type '{ children: string; normalButtonType: "warning-accept"; style: { margin: number; }; onClick: () => void; }' but required in type '{ normalButtonType: NormalButtonType; isDarkMode: boolean; }'.
|
build:
src/components/common/Modal/index.tsx#L58
Property 'isDarkMode' is missing in type '{ children: string; normalButtonType: "warning-deny"; style: { margin: number; }; onClick: () => void; }' but required in type '{ normalButtonType: NormalButtonType; isDarkMode: boolean; }'.
|
build
Process completed with exit code 2.
|