Refactor editor to update better

This commit is contained in:
Gregory Schier
2023-03-10 10:39:23 -08:00
parent 43abb57f77
commit 5c96e83a22
15 changed files with 87 additions and 82 deletions

View File

@@ -25,6 +25,7 @@ export type ButtonProps = {
children?: ComponentChildren;
disabled?: boolean;
title?: string;
tabIndex?: number;
};
export const Button = forwardRef(function Button(
@@ -35,7 +36,6 @@ export const Button = forwardRef(function Button(
color,
justify = 'center',
size = 'md',
type = 'button',
...props
}: ButtonProps,
ref: ForwardedRef<HTMLButtonElement>,
@@ -43,7 +43,6 @@ export const Button = forwardRef(function Button(
return (
<button
ref={ref}
type={type}
className={classnames(
className,
'outline-none',