From 91e4c2a3857569faa99b9b283d7039f072edc86c Mon Sep 17 00:00:00 2001 From: Matthew Russell Date: Mon, 7 Mar 2022 13:06:00 -0800 Subject: [PATCH] make inputError kebab-case --- libs/ui-toolkit/src/components/input-error/index.ts | 1 + .../inputError.spec.tsx => input-error/input-error.spec.tsx} | 2 +- .../input-error.stories.tsx} | 2 +- .../{inputError/inputError.tsx => input-error/input-error.tsx} | 0 libs/ui-toolkit/src/components/inputError/index.ts | 1 - libs/ui-toolkit/src/index.ts | 2 +- 6 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 libs/ui-toolkit/src/components/input-error/index.ts rename libs/ui-toolkit/src/components/{inputError/inputError.spec.tsx => input-error/input-error.spec.tsx} (83%) rename libs/ui-toolkit/src/components/{inputError/inputError.stories.tsx => input-error/input-error.stories.tsx} (90%) rename libs/ui-toolkit/src/components/{inputError/inputError.tsx => input-error/input-error.tsx} (100%) delete mode 100644 libs/ui-toolkit/src/components/inputError/index.ts diff --git a/libs/ui-toolkit/src/components/input-error/index.ts b/libs/ui-toolkit/src/components/input-error/index.ts new file mode 100644 index 000000000..619f584f4 --- /dev/null +++ b/libs/ui-toolkit/src/components/input-error/index.ts @@ -0,0 +1 @@ +export * from './input-error'; diff --git a/libs/ui-toolkit/src/components/inputError/inputError.spec.tsx b/libs/ui-toolkit/src/components/input-error/input-error.spec.tsx similarity index 83% rename from libs/ui-toolkit/src/components/inputError/inputError.spec.tsx rename to libs/ui-toolkit/src/components/input-error/input-error.spec.tsx index 337e8721a..352d66675 100644 --- a/libs/ui-toolkit/src/components/inputError/inputError.spec.tsx +++ b/libs/ui-toolkit/src/components/input-error/input-error.spec.tsx @@ -1,6 +1,6 @@ import { render } from '@testing-library/react'; -import { InputError } from './inputError'; +import { InputError } from './input-error'; describe('InputError', () => { it('should render successfully', () => { diff --git a/libs/ui-toolkit/src/components/inputError/inputError.stories.tsx b/libs/ui-toolkit/src/components/input-error/input-error.stories.tsx similarity index 90% rename from libs/ui-toolkit/src/components/inputError/inputError.stories.tsx rename to libs/ui-toolkit/src/components/input-error/input-error.stories.tsx index 6303a9ad8..b227a0c6c 100644 --- a/libs/ui-toolkit/src/components/inputError/inputError.stories.tsx +++ b/libs/ui-toolkit/src/components/input-error/input-error.stories.tsx @@ -1,5 +1,5 @@ import { Story, Meta } from '@storybook/react'; -import { InputError } from './inputError'; +import { InputError } from './input-error'; export default { component: InputError, diff --git a/libs/ui-toolkit/src/components/inputError/inputError.tsx b/libs/ui-toolkit/src/components/input-error/input-error.tsx similarity index 100% rename from libs/ui-toolkit/src/components/inputError/inputError.tsx rename to libs/ui-toolkit/src/components/input-error/input-error.tsx diff --git a/libs/ui-toolkit/src/components/inputError/index.ts b/libs/ui-toolkit/src/components/inputError/index.ts deleted file mode 100644 index 1846784f2..000000000 --- a/libs/ui-toolkit/src/components/inputError/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './inputError'; diff --git a/libs/ui-toolkit/src/index.ts b/libs/ui-toolkit/src/index.ts index a7d331e4e..995a36196 100644 --- a/libs/ui-toolkit/src/index.ts +++ b/libs/ui-toolkit/src/index.ts @@ -6,6 +6,6 @@ export { EthereumUtils }; export { EtherscanLink } from './components/etherscan-link'; export { Icon } from './components/icon'; export { Input } from './components/input'; -export { InputError } from './components/inputError'; +export { InputError } from './components/input-error'; export { Select } from './components/select'; export { TextArea } from './components/text-area';