refactor(client): button to TypeScript
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
|
||||
function ButtonSpacer() {
|
||||
function ButtonSpacer(): JSX.Element {
|
||||
return <div className='button-spacer' style={{ padding: '5px 0' }} />;
|
||||
}
|
||||
|
@@ -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';
|
||||
|
@@ -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';
|
||||
|
Reference in New Issue
Block a user