mirror of
https://github.com/SomboChea/ui
synced 2026-01-20 01:55:56 +07:00
refactor: move cascaded CSS from templates to JS objects
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import styled from 'react-emotion';
|
||||
|
||||
export const CommandContainer = styled('div')`
|
||||
&& {
|
||||
padding-top: 20px;
|
||||
}
|
||||
`;
|
||||
export const CommandContainer = styled('div')({
|
||||
'&&': {
|
||||
paddingTop: '20px',
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user