We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0c642e commit 0bca0c3Copy full SHA for 0bca0c3
src/components/StatLoadingMessage.tsx
@@ -1,19 +1,14 @@
1
import React from "react"
2
-import styled from "@emotion/styled"
3
-import { typography, TypographyProps } from "styled-system"
+import { Text } from "@chakra-ui/react"
4
5
import Translation from "./Translation"
6
7
-export interface IProps extends TypographyProps {}
8
-
9
-export const IndicatorSpan = styled.span<IProps>`
10
- ${typography}
11
-`
+export interface IProps {}
12
13
const StatLoadingMessage: React.FC<IProps> = (props) => (
14
- <IndicatorSpan fontSize="2rem" {...props}>
+ <Text as="span" fontSize="2rem" {...props}>
15
<Translation id="loading" />
16
- </IndicatorSpan>
+ </Text>
17
)
18
19
export default StatLoadingMessage
0 commit comments