diff --git a/README.md b/README.md index e457dfa..3ff918a 100755 --- a/README.md +++ b/README.md @@ -95,21 +95,23 @@ const exampleCode = ` return () => ; `; -render(( +render( {({ className, style, tokens, getLineProps, getTokenProps }) => ( -
-        {tokens.map((line, i) => (
-          
- {line.map((token, key) => ( - - ))} -
- ))} +
+        
+          {tokens.map((line, i) => (
+            
+ {line.map((token, key) => ( + + ))} +
+ ))} +
)} , - document.getElementById('root') + document.getElementById("root") ); ```