Open nicothin opened 5 years ago
Add
If i add one line (const with some function) before styles, Emmet start working. WTF? ))
// If the next line exists, emmet in styles begins to work.
const emmet = () => <Emmet {...props} />; // This component does not exist.
const Container = styled.div`
margin: 0;
padding: 0; // This expanded from 'p0' by pressing the TAB button
`;
Syntax: javascript (naomi) If I remove the export function in the second file, Emmet starts working in it.
gif: https://raw.githubusercontent.com/nicothin/nicothin.github.io/master/img/emmet-problem.gif