summaryrefslogtreecommitdiff
path: root/src/components/Input.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Input.tsx')
-rw-r--r--src/components/Input.tsx10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/components/Input.tsx b/src/components/Input.tsx
index 1f3458b..ade19b2 100644
--- a/src/components/Input.tsx
+++ b/src/components/Input.tsx
@@ -4,15 +4,7 @@ import s0 from './Input.module.scss';
const { useState, useRef, useEffect, useCallback } = React;
-type InputProps = {
- value?: string | number;
- type?: string;
- onChange?: (...args: any[]) => any;
- name?: string;
- placeholder?: string;
-};
-
-export default function Input(props: InputProps) {
+export default function Input(props: React.InputHTMLAttributes<HTMLInputElement>) {
return <input className={s0.input} {...props} />;
}