@bytebrand/fe-ui-core 4.2.191 → 4.2.193
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { useState, useEffect, useRef, FunctionComponent } from 'react';
|
|
2
2
|
import _get from 'lodash/get';
|
|
3
3
|
import { Hidden } from 'react-grid-system';
|
|
4
|
+
import { isMobileOnly } from 'react-device-detect';
|
|
4
5
|
import PriceContent from './partials/PriceContent';
|
|
5
6
|
import Title from './partials/Title';
|
|
6
7
|
import Price from './partials/Price';
|
|
@@ -148,24 +149,26 @@ const VehicleDetailedSidebar: FunctionComponent<IVehicleDetailedSidebarProps> =
|
|
|
148
149
|
<Title {...titleProps} />
|
|
149
150
|
<Price {...priceProps} />
|
|
150
151
|
<Price {...priceProps} isSticky={true} />
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
<a
|
|
162
|
-
href='https://de.trustpilot.com/review/www.auto.de'
|
|
163
|
-
target='_blank'
|
|
164
|
-
rel='noopener noreferrer'
|
|
152
|
+
{isMobileOnly && (
|
|
153
|
+
<div
|
|
154
|
+
ref={ref}
|
|
155
|
+
data-locale='de-DE'
|
|
156
|
+
data-template-id='5419b6a8b0d04a076446a9ad'
|
|
157
|
+
data-businessunit-id='46edfd1c0000640005017f22'
|
|
158
|
+
data-style-height='32px'
|
|
159
|
+
data-style-width='100%'
|
|
160
|
+
data-theme='light'
|
|
161
|
+
data-style-alignment='center'
|
|
165
162
|
>
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
163
|
+
<a
|
|
164
|
+
href='https://de.trustpilot.com/review/www.auto.de'
|
|
165
|
+
target='_blank'
|
|
166
|
+
rel='noopener noreferrer'
|
|
167
|
+
>
|
|
168
|
+
Trustpilot
|
|
169
|
+
</a>
|
|
170
|
+
</div>
|
|
171
|
+
)}
|
|
169
172
|
{props.children}
|
|
170
173
|
</div>
|
|
171
174
|
<div>
|