File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed
packages/graphql-playground-react/src/components/Playground/TopBar Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,7 @@ import { darken, lighten } from 'polished'
5
5
import * as CopyToClipboard from 'react-copy-to-clipboard'
6
6
import Share , { SharingProps } from '../../Share'
7
7
import ReloadIcon from './ReloadIcon'
8
- import { StyledComponentClass } from 'styled-components'
9
8
import { keyframes , StyledComponentClass } from 'styled-components'
10
- import { Icon } from 'graphcool-styles'
11
9
import * as cx from 'classnames'
12
10
13
11
export interface Props {
@@ -167,31 +165,6 @@ const ReachError = styled.div`
167
165
color: #f25c54;
168
166
`
169
167
170
-
171
- const Spinner = styled . div `
172
- & {
173
- width: 40px;
174
- height: 40px;
175
- margin: 40px auto;
176
- background-color: #333;
177
- border-radius: 100%;
178
- -webkit-animation: sk-pulseScaleOut 1s infinite ease-in-out;
179
- animation: sk-pulseScaleOut 1s infinite ease-in-out;
180
- `
181
-
182
- const ReloadIcon = styled ( Icon ) `
183
- position: absolute;
184
- right: 5px;
185
- cursor: pointer;
186
- svg {
187
- fill: ${ iconColor } ;
188
- transition: 0.1s linear all;
189
- &:hover {
190
- fill: ${ iconColorHover } ;
191
- }
192
- }
193
- ` as any // TODO remove this once typings are fixed
194
-
195
168
const bounceAnimation = keyframes `
196
169
0%, 100% {
197
170
transform: scale(0);
You can’t perform that action at this time.
0 commit comments