Skip to content

Commit b44bf62

Browse files
add solution excercise 07
1 parent c3b6f6b commit b44bf62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/02-components/07-typing-onclick-handlers.problem.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import React from 'react';
33
interface ButtonProps {
44
className: string;
55
children: React.ReactNode;
6+
onClick: React.MouseEventHandler;
67
}
78

89
export const Button = ({ children, className, onClick }: ButtonProps) => {

0 commit comments

Comments
 (0)