import { rem } from "polished"; import React, { FC, ComponentProps } from "react"; import styled, { createGlobalStyle } from "styled-components"; import Icon from "../../../assets/icon.svg"; export const Disconnected: FC> = (props) => ( <>
Waiting for exchange
Make sure {"you're"} using the Urql Devtools exchange!
); const GlobalStyle = createGlobalStyle` body { margin: 0; } `; const Container = styled.div` width: 100%; height: 100%; background: ${(p) => p.theme.colors.canvas.base}; display: flex; flex-direction: column; justify-content: center; align-items: center; `; const Header = styled.h1` color: ${(p) => p.theme.colors.text.base}; font-weight: 400; margin: 0; `; const Hint = styled.p` color: ${(p) => p.theme.colors.textDimmed.base}; `; const Logo = styled(Icon)` width: ${rem(150)}; path { fill: ${(p) => p.theme.colors.text.base}; } `;