refactor(client): button to TypeScript

This commit is contained in:
Marlon Johnson
2021-06-21 13:54:32 -07:00
parent 9767ee6bbc
commit 7569a8d427
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
import React from 'react';
function ButtonSpacer() {
function ButtonSpacer(): JSX.Element {
return <div className='button-spacer' style={{ padding: '5px 0' }} />;
}

View File

@@ -1,4 +1,4 @@
export { default as ButtonSpacer } from './ButtonSpacer';
export { default as ButtonSpacer } from './button-spacer';
export { default as FullWidthRow } from './full-width-row';
export { default as SlimWidthRow } from './slim-width-row';
export { default as Loader } from './loader';

View File

@@ -7,7 +7,7 @@ import { useTranslation } from 'react-i18next';
import LearnLayout from '../../components/layouts/Learn';
import FullWidthRow from '../../components/helpers/full-width-row';
import ButtonSpacer from '../../components/helpers/ButtonSpacer';
import ButtonSpacer from '../../components/helpers/button-spacer';
import { MarkdownRemark, AllChallengeNode } from '../../redux/prop-types';
import './intro.css';