изменений опять просто ёбнешься. когда я успел?

This commit is contained in:
2020-10-11 21:55:34 +03:00
parent e617009158
commit 41e2869fa3
16 changed files with 285 additions and 141 deletions
+2 -2
View File
@@ -2,11 +2,11 @@ import React, {InputHTMLAttributes} from "react";
import classNames from "../../classNames";
import './Input.sass';
const Input = (restProps: InputHTMLAttributes<HTMLElement>) => {
const Input = (restProps: InputHTMLAttributes<HTMLInputElement>) => {
const { className, ...props } = restProps;
return (
<input className={classNames('Input', className)} {...props} />
)
}
export default Input;
export default Input;