Skip to content

Commit

Permalink
chore: convert statLoadingMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
therealharpaljadeja committed Oct 7, 2022
1 parent b0c642e commit 0bca0c3
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/components/StatLoadingMessage.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
import React from "react"
import styled from "@emotion/styled"
import { typography, TypographyProps } from "styled-system"
import { Text } from "@chakra-ui/react"

import Translation from "./Translation"

export interface IProps extends TypographyProps {}

export const IndicatorSpan = styled.span<IProps>`
${typography}
`
export interface IProps {}

const StatLoadingMessage: React.FC<IProps> = (props) => (
<IndicatorSpan fontSize="2rem" {...props}>
<Text as="span" fontSize="2rem" {...props}>
<Translation id="loading" />
</IndicatorSpan>
</Text>
)

export default StatLoadingMessage

0 comments on commit 0bca0c3

Please sign in to comment.