Skip to content

Commit a7c9436

Browse files
feat: add TypeScript definitions for LeetCodeCalendar component
1 parent ca13781 commit a7c9436

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

leetcode-calendar.d.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
declare module 'leetcode-calendar' {
2+
import { FC } from 'react';
3+
4+
interface LeetCodeCalendarProps {
5+
username: string;
6+
blockSize?: number;
7+
blockMargin?: number;
8+
fontSize?: number;
9+
theme?: object;
10+
style?: React.CSSProperties;
11+
}
12+
13+
const LeetCodeCalendar: FC<LeetCodeCalendarProps>;
14+
export default LeetCodeCalendar;
15+
}

0 commit comments

Comments
 (0)