Fixed warning about using kebab-style for emotion styling
Summary: Just fixed warning that kebab-style properties are deprecated and camel-case should be used instead Reviewed By: mweststrate Differential Revision: D21178489 fbshipit-source-id: 9fba323b3c6ccfce7eb2acc97aa57526305e24ac
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f3edfb36db
commit
1509180929
@@ -30,8 +30,8 @@ const Heading = styled.div<{level: number}>((props) => ({
|
|||||||
fontWeight: props.level > 1 ? 'bold' : 'normal',
|
fontWeight: props.level > 1 ? 'bold' : 'normal',
|
||||||
}));
|
}));
|
||||||
const ListItem = styled.li({
|
const ListItem = styled.li({
|
||||||
'list-style-type': 'circle',
|
listStyleType: 'circle',
|
||||||
'list-style-position': 'inside',
|
listStylePosition: 'inside',
|
||||||
marginLeft: 10,
|
marginLeft: 10,
|
||||||
});
|
});
|
||||||
const Strong = styled.span({
|
const Strong = styled.span({
|
||||||
|
|||||||
Reference in New Issue
Block a user