mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-30 22:22:02 +02:00
Refactor editor to update better
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user