mirror of
https://github.com/SomboChea/ui
synced 2026-01-18 17:16:00 +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 Content = styled('div')`
|
||||
&& {
|
||||
padding: 15px;
|
||||
}
|
||||
`;
|
||||
export const Content = styled('div')({
|
||||
'&&': {
|
||||
padding: '15px',
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user