Skip to content

Commit 7bffd65

Browse files
committed
style: use ComponentProps instead
1 parent 1799646 commit 7bffd65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ui/components/Button.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import React from "react";
21
import { classes } from "@ui/utils/classes.util";
2+
import { ComponentProps } from "react";
33
import styles from "./Button.module.scss";
44

5-
type Props = React.ButtonHTMLAttributes<HTMLButtonElement>;
5+
type Props = ComponentProps<"button">;
66

77
export const Button = (props: Props) => {
88
return (

0 commit comments

Comments
 (0)