<FixedBottomCTA onClick={handleClick}>하단 버튼</FixedBottomCTA>
Type ‘{ children: string; onClick: () => void; }’ is not assignable to type ‘IntrinsicAttributes & Omit<FixedBottomCTATypeAProps, “ref”> & RefAttributes’.
Property ‘onClick’ does not exist on type ‘IntrinsicAttributes & Omit<FixedBottomCTATypeAProps, “ref”> & RefAttributes’.ts(2322)
위와 같이 onClick을 바로 주려고 하니까 타입 에러가 납니다. 혹시 다른 방법으로 해야하는걸까요??