many new
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
import React, {InputHTMLAttributes} from "react";
|
||||
import classNames from "../../classNames";
|
||||
import './Input.sass';
|
||||
|
||||
const Input = (restProps: InputHTMLAttributes<HTMLElement>) => {
|
||||
const { className, ...props } = restProps;
|
||||
return (
|
||||
<input className={classNames('Input', className)} {...props} />
|
||||
)
|
||||
}
|
||||
|
||||
export default Input;
|
||||
Reference in New Issue
Block a user