Skip to content

Commit 224a708

Browse files
committed
fix(types): onClickLearnMore is optional
1 parent 57b9841 commit 224a708

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hero/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const useMouseMove = () => {
6161

6262
type HeroProps = {
6363
onClickGetStarted: () => void;
64-
onClickLearnMore: () => void;
64+
onClickLearnMore?: () => void;
6565

6666
showStars?: boolean;
6767
showOvalBg?: boolean;

0 commit comments

Comments
 (0)