File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
test/fixtures/add-identifier-and-display-name Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -9,3 +9,5 @@ const WrappedComponent = styled(Inner)``
99const WrappedComponent2 = styled . div ( { } )
1010const WrappedComponent3 = styled ( Inner ) ( { } )
1111const WrappedComponent4 = styled ( Inner ) . attrs ( ( ) => ( { something : 'else' } ) ) ( { } )
12+ const WrappedComponent5 = styled . div . attrs ( ( ) => ( { something : 'else' } ) ) ( { } )
13+ const WrappedComponent6 = styled . div . attrs ( ( ) => ( { something : 'else' } ) ) ``
Original file line number Diff line number Diff line change @@ -38,3 +38,15 @@ const WrappedComponent4 = styled(Inner).attrs(() => ({
3838 displayName : "WrappedComponent4" ,
3939 componentId : "sc-1cza72q-8"
4040} ) ( { } ) ;
41+ const WrappedComponent5 = styled . div . attrs ( ( ) => ( {
42+ something : 'else'
43+ } ) ) . withConfig ( {
44+ displayName : "WrappedComponent5" ,
45+ componentId : "sc-1cza72q-9"
46+ } ) ( { } ) ;
47+ const WrappedComponent6 = styled . div . attrs ( ( ) => ( {
48+ something : 'else'
49+ } ) ) . withConfig ( {
50+ displayName : "WrappedComponent6" ,
51+ componentId : "sc-1cza72q-10"
52+ } ) `` ;
You can’t perform that action at this time.
0 commit comments