From 210131ca184c3aa043371857c022aa1aa149efbf Mon Sep 17 00:00:00 2001 From: Aditya Mangalampalli Date: Fri, 15 Apr 2022 02:00:25 -0700 Subject: Matched casing for almost all replacements --- src/components/ui/FAB.tsx | 2 +- src/components/ui/Loader.tsx | 4 ++-- src/components/ui/button/index.tsx | 2 +- src/components/ui/infobox/index.tsx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/components/ui') diff --git a/src/components/ui/FAB.tsx b/src/components/ui/FAB.tsx index cb9c5f126..37c3c9ec7 100644 --- a/src/components/ui/FAB.tsx +++ b/src/components/ui/FAB.tsx @@ -28,7 +28,7 @@ class Button extends Component { const buttonProps = { className: classnames({ - ferdi__fab: true, + ferdium__fab: true, [`${className}`]: className, }), type, diff --git a/src/components/ui/Loader.tsx b/src/components/ui/Loader.tsx index 171d0e290..e889fd054 100644 --- a/src/components/ui/Loader.tsx +++ b/src/components/ui/Loader.tsx @@ -2,14 +2,14 @@ import { Component, ReactChildren } from 'react'; import { observer, inject } from 'mobx-react'; import Loader from 'react-loader'; -import { FerdiStores } from '../../stores.types'; +import { FerdiumStores } from '../../stores.types'; type Props = { children: ReactChildren; loaded: boolean; className: string; color: string; - stores: FerdiStores; + stores: FerdiumStores; }; class LoaderComponent extends Component { diff --git a/src/components/ui/button/index.tsx b/src/components/ui/button/index.tsx index d91b1ee19..b18f44909 100644 --- a/src/components/ui/button/index.tsx +++ b/src/components/ui/button/index.tsx @@ -198,7 +198,7 @@ class ButtonComponent extends Component { if (loaded) { showLoader = !loaded; console.warn( - 'Ferdi Button prop `loaded` will be deprecated in the future. Please use `busy` instead', + 'Ferdium Button prop `loaded` will be deprecated in the future. Please use `busy` instead', ); } if (busy) { diff --git a/src/components/ui/infobox/index.tsx b/src/components/ui/infobox/index.tsx index c0767a342..d4ff61053 100644 --- a/src/components/ui/infobox/index.tsx +++ b/src/components/ui/infobox/index.tsx @@ -46,7 +46,7 @@ const buttonStyles = (theme: Theme) => { const infoBoxTransition: string = 'none'; const ctaTransition: string = 'none'; -// TODO: Not sure why, but this location alone, the `dinwo` is not defined - and it throws an error thus aborting the startup sequence of ferdi +// TODO: Not sure why, but this location alone, the `dinwo` is not defined - and it throws an error thus aborting the startup sequence of ferdium // if (window && window.matchMedia('(prefers-reduced-motion: no-preference)')) { // infoBoxTransition = 'all 0.5s'; // ctaTransition = 'opacity 0.3s'; -- cgit v1.2.3-70-g09d2