diff --git a/.gitignore b/.gitignore index d08b45d13..70a8f1835 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ .DS_Store node_modules .cache +.history dist /src/*/*/__snapshots__/ /storybook-static/ diff --git a/src/components/Checkbox/types.ts b/src/components/Checkbox/types.ts index 7d7c767e9..aaf5c8af1 100644 --- a/src/components/Checkbox/types.ts +++ b/src/components/Checkbox/types.ts @@ -1,4 +1,4 @@ -export type CheckboxValidate = { +export type ValidateCheckbox = { required?: boolean; }; @@ -41,5 +41,5 @@ export interface CheckboxProps { /** * You can validate your checkbox and switches */ - validation?: CheckboxValidate; + validation?: ValidateCheckbox; } diff --git a/src/components/Radios/types.tsx b/src/components/Radios/types.tsx index 1c747e5b5..6dc0b12e5 100644 --- a/src/components/Radios/types.tsx +++ b/src/components/Radios/types.tsx @@ -1,4 +1,4 @@ -export type RadiosValidate = { +export type ValidateRadios = { required?: boolean; }; @@ -26,5 +26,5 @@ export interface RadiosProps { /** * You can validate your radios */ - validation?: RadiosValidate; + validation?: ValidateRadios; }