aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/forms/fields/input/input.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-10-05 18:58:30 +0200
committerArmand Philippot <git@armandphilippot.com>2023-11-11 18:14:41 +0100
commitfb860884857da73ee5b5e897745301cdf1d770a2 (patch)
tree3aaf3c192b3375a7e1bf2dbf9daa866be357a2f5 /src/components/atoms/forms/fields/input/input.tsx
parente97325a2c174a87c29593d1b42b9a1cc1eaf11af (diff)
refactor(components): make form components compliant with Eslint rules
Diffstat (limited to 'src/components/atoms/forms/fields/input/input.tsx')
-rw-r--r--src/components/atoms/forms/fields/input/input.tsx9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/components/atoms/forms/fields/input/input.tsx b/src/components/atoms/forms/fields/input/input.tsx
index 0f0736c..c47534f 100644
--- a/src/components/atoms/forms/fields/input/input.tsx
+++ b/src/components/atoms/forms/fields/input/input.tsx
@@ -8,7 +8,7 @@ import styles from '../fields.module.scss';
export type InputProps = Omit<
InputHTMLAttributes<HTMLInputElement>,
- 'disabled' | 'hidden' | 'readonly' | 'required' | 'type'
+ 'disabled' | 'readonly' | 'required' | 'type'
> &
Required<Pick<InputHTMLAttributes<HTMLInputElement>, 'id' | 'name'>> & {
/**
@@ -18,12 +18,6 @@ export type InputProps = Omit<
*/
isDisabled?: boolean;
/**
- * Should the field be hidden?
- *
- * @default false
- */
- isHidden?: boolean;
- /**
* Should the field be readonly?
*
* @default false
@@ -45,7 +39,6 @@ const InputWithRef = (
{
className = '',
isDisabled = false,
- isHidden = false,
isReadOnly = false,
isRequired = false,
...props