mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-03 17:08:13 +00:00
delete commented code
This commit is contained in:
1 parent
aac5cb521d
commit
4d5bfb772a
1 file changed
-4
@@ -12,10 +12,6 @@ interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
||||
}
|
||||
|
||||
export function Input({ label, icon, className, id, ...rest }: InputProps) {
|
||||
// const captureAllEvents = (e:React.FormEvent<HTMLInputElement>)=>{
|
||||
// e.preventDefault();
|
||||
// e.stopPropagation();
|
||||
// };
|
||||
return (
|
||||
<div className={twMerge("flex flex-col gap-2", className)}>
|
||||
{label && <Label htmlFor={id ? id : kebabCase(label)}>{label}</Label>}
|
||||
|
||||
Reference in new issue
Block a user