Upgrade to emotion v10
Summary: React 16 is not compatible with react-emotion 9 (it prints warnings, see also https://github.com/emotion-js/emotion/issues/644). So we should upgrade to 10. Reviewed By: mweststrate Differential Revision: D18905889 fbshipit-source-id: c00d2dbbadb1c08544632cb9bfcd63f2b1818a25
This commit is contained in:
committed by
Facebook Github Bot
parent
c3dfcbe601
commit
c0f902f81a
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
import DataDescription from './DataDescription';
|
||||
import styled from 'react-emotion';
|
||||
import styled from '@emotion/styled';
|
||||
import {getSortedKeys} from './utils';
|
||||
import {PureComponent} from 'react';
|
||||
import React from 'react';
|
||||
@@ -26,12 +26,12 @@ export type DataValueExtractor = (
|
||||
| undefined
|
||||
| null;
|
||||
|
||||
export const InspectorName = styled('span')({
|
||||
export const InspectorName = styled.span({
|
||||
color: colors.grapeDark1,
|
||||
});
|
||||
InspectorName.displayName = 'DataInspector:InspectorName';
|
||||
|
||||
const PreviewContainer = styled('span')({
|
||||
const PreviewContainer = styled.span({
|
||||
fontStyle: 'italic',
|
||||
});
|
||||
PreviewContainer.displayName = 'DataPreview:PreviewContainer';
|
||||
|
||||
Reference in New Issue
Block a user