mirror of
https://github.com/zhigang1992/styled-components.git
synced 2026-04-29 01:35:53 +08:00
fix module resolve error
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import styled from 'styled-components';
|
||||
import styled from 'styled-components-v5';
|
||||
import View from './View';
|
||||
|
||||
const getColor = color => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import styled from 'styled-components';
|
||||
import styled from 'styled-components-v5';
|
||||
import View from './View';
|
||||
|
||||
export default styled(View).attrs(p => ({ style: { borderBottomColor: p.color } }))(p => ({
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import styled from 'styled-components';
|
||||
import styled from 'styled-components-v5';
|
||||
|
||||
export default styled.div({
|
||||
alignItems: 'stretch',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import styled from 'styled-components';
|
||||
import styled from 'styled-components-v5';
|
||||
import View from './View';
|
||||
|
||||
const getColor = color => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import styled from 'styled-components';
|
||||
import styled from 'styled-components-v5';
|
||||
import View from './View';
|
||||
|
||||
export default styled(View).attrs(p => ({ style: { borderBottomColor: p.color } }))`
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import styled from 'styled-components';
|
||||
import styled from 'styled-components-v5';
|
||||
|
||||
export default styled.div`
|
||||
align-items: stretch;
|
||||
|
||||
Reference in New Issue
Block a user