Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit 35fac28

Browse files
committed
chore: remove styled-components from examples
1 parent ad8ada0 commit 35fac28

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

examples/basic/src/components/Alert.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { Fragment } from 'react'
2-
import styled from 'styled-components'
2+
import styled from '@emotion/styled'
33
import t from 'prop-types'
44

55
const kinds = {

examples/basic/src/components/Button.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
import styled from 'styled-components'
2+
import styled from '@emotion/styled'
33
import t from 'prop-types'
44

55
const scales = {

examples/flow/src/components/Alert.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @flow
22

33
import React, { Fragment } from 'react'
4-
import styled from 'styled-components'
4+
import styled from '@emotion/styled'
55

66
const kinds = {
77
info: '#5352ED',

examples/flow/src/components/Button.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @flow
22
import React from 'react'
3-
import styled from 'styled-components'
3+
import styled from '@emotion/styled'
44

55
const scales = {
66
small: `

examples/gatsby/src/components/Alert.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
import styled from 'styled-components'
2+
import styled from '@emotion/styled'
33
import t from 'prop-types'
44

55
const kinds = {

examples/gatsby/src/components/Button.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
import styled from 'styled-components'
2+
import styled from '@emotion/styled'
33
import t from 'prop-types'
44

55
const scales = {

examples/react-native/src/components/Alert.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { Fragment } from 'react'
22
import { Text as BaseText } from 'react-native'
3-
import styled from 'styled-components/native'
3+
import styled from '@emotion/primitives'
44
import * as t from 'prop-types'
55

66
const kinds = {

examples/react-native/src/components/Button.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
import styled from 'styled-components/native'
2+
import styled from '@emotion/primitives'
33
import * as t from 'prop-types'
44

55
const scales = {

examples/typescript/src/components/Alert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { SFC } from 'react'
2-
import styled from 'styled-components'
2+
import styled from '@emotion/styled'
33

44
export type Kind = 'info' | 'positive' | 'negative' | 'warning'
55
export type KindMap = Record<Kind, string>

examples/typescript/src/components/Button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { SFC } from 'react'
2-
import styled from 'styled-components'
2+
import styled from '@emotion/styled'
33

44
const scales = {
55
small: `

0 commit comments

Comments
 (0)