We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1799646 commit 7bffd65Copy full SHA for 7bffd65
src/ui/components/Button.tsx
@@ -1,8 +1,8 @@
1
-import React from "react";
2
import { classes } from "@ui/utils/classes.util";
+import { ComponentProps } from "react";
3
import styles from "./Button.module.scss";
4
5
-type Props = React.ButtonHTMLAttributes<HTMLButtonElement>;
+type Props = ComponentProps<"button">;
6
7
export const Button = (props: Props) => {
8
return (
0 commit comments