Mainly Design stuff for preview
This commit is contained in:
1 parent
a213bb33fb
commit
a014775dd9
9 files changed
+203
-22
No files matched your search
@@ -1,6 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import React, { CSSProperties } from 'react';
|
||||
import React, { CSSProperties, MouseEventHandler } from 'react';
|
||||
import styles from "@/css/OldButton.module.css";
|
||||
import clsx from 'clsx';
|
||||
|
||||
@@ -11,7 +11,7 @@ interface OldButtonProps {
|
||||
disabled?: boolean;
|
||||
className?: string;
|
||||
style?: CSSProperties;
|
||||
onAction?: () => void;
|
||||
onAction?: MouseEventHandler<HTMLButtonElement>;
|
||||
};
|
||||
|
||||
export default function OldButton({children, long=true, red=true, disabled=false, className, style, onAction}: OldButtonProps) {
|
||||
|
||||
Reference in new issue
Block a user