Skip to content

Commit 7f36d45

Browse files
committed
feat: update next, tailwindcss, fix component
1 parent d1da214 commit 7f36d45

File tree

5 files changed

+184
-963
lines changed

5 files changed

+184
-963
lines changed

components/IconButton/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ const Button = tw.button<ButtonProps>`
2727
outline-none
2828
`;
2929

30-
export interface IconButtonProps extends React.ComponentProps<typeof Button> {
30+
export interface IconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
31+
as?: string;
3132
icon?: React.ReactElement;
3233
overrideClassName?: boolean;
3334
}

next-env.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/// <reference types="next" />
2-
/// <reference types="next/types/global" />
32
/// <reference types="next/image-types/global" />
43

54
// NOTE: This file should not be edited

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@
2121
"@tailwindcss/typography": "0.5.2",
2222
"autoprefixer": "10.3.1",
2323
"clsx": "1.1.1",
24+
"docx": "7",
25+
"docx-react": "^1.0.5",
2426
"framer-motion": "3.10.6",
2527
"gray-matter": "4.0.3",
2628
"image-size": "1.0.0",
2729
"katex": "0.15.1",
2830
"luxon": "2.1.1",
29-
"next": "12.0.4",
31+
"next": "12.1.0",
3032
"next-mdx-remote": "3.0.8",
3133
"next-seo": "4.26.0",
3234
"postcss": "8.4.3",

0 commit comments

Comments
 (0)