mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-24 04:15:54 +08:00
chore(deps): update styled-jsx to ^3.3.1 (#520)
* chore(deps): update styled-jsx to ^3.3.1 update styled-jsx to ^3.3.1 to allow compatiblity with react@^17 * fix(modules): fix 695-issue to compatible with React 17 * docs: fix module error caused by styled-jsx update Co-authored-by: unix <unix.bio@gmail.com>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import React from 'react'
|
||||
import { Image } from 'components/index'
|
||||
import { resolve } from 'styled-jsx/css'
|
||||
import { css } from 'styled-jsx/css'
|
||||
|
||||
export const LogoIcon: React.FC<React.ImgHTMLAttributes<any>> = ({ ...props }) => {
|
||||
const { className, styles } = resolve`
|
||||
const { className, styles } = css.resolve`
|
||||
.image {
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
|
||||
Reference in New Issue
Block a user