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 0c9fa8d commit 8a1ee2fCopy full SHA for 8a1ee2f
packages/cra-template-typescript/template/src/App.css
@@ -3,11 +3,16 @@
3
}
4
5
.App-logo {
6
- animation: App-logo-spin infinite 20s linear;
7
height: 40vmin;
8
pointer-events: none;
9
10
+@media (prefers-reduced-motion: no-preference) {
11
+ .App-logo {
12
+ animation: App-logo-spin infinite 20s linear;
13
+ }
14
+}
15
+
16
.App-header {
17
background-color: #282c34;
18
min-height: 100vh;
packages/cra-template-typescript/template/src/App.test.tsx
@@ -2,7 +2,7 @@ import React from 'react';
2
import { render } from '@testing-library/react';
import App from './App';
-test('renders welcome heading', () => {
+test('renders learn react link', () => {
const { getByText } = render(<App />);
const linkElement = getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
0 commit comments