Data/Code: WithError

Code block with syntax highlighting and error display
View fullscreen
Source Code
1export const WithError = component(() => (
2 <Code
3 error={{
4 line: 2,
5 char: 29,
6 message: "Missing semicolon",
7 }}
8 code={errorCode}
9 />
10));