refactor(client): skelton-sprite to TypeScript

This commit is contained in:
Marlon Johnson
2021-06-20 09:59:12 -07:00
parent 447ddba26d
commit 99006403c4
2 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,7 @@ export { default as ButtonSpacer } from './ButtonSpacer';
export { default as FullWidthRow } from './FullWidthRow';
export { default as SlimWidthRow } from './slim-width-row';
export { default as Loader } from './Loader';
export { default as SkeletonSprite } from './SkeletonSprite';
export { default as SkeletonSprite } from './skeleton-sprite';
export { default as Spacer } from './spacer';
export { default as Link } from './Link';
export { default as CurrentChallengeLink } from './CurrentChallengeLink';

View File

@ -2,7 +2,9 @@ import React from 'react';
import styles from './skeleton-styles';
function SkeletonSprite() {
function SkeletonSprite({}: React.FC<
React.ComponentPropsWithoutRef<'svg'>
>): JSX.Element {
return (
<div className='sprite-container'>
<style dangerouslySetInnerHTML={{ __html: styles }} />