chroma/lexers/testdata/tsx.actual
2025-03-22 20:46:00 +13:00

28 lines
No EOL
471 B
Text

import React from 'react'
import ReactDOM from 'react-dom'
import './index.css'
import { App } from './App'
ReactDOM.render(
<>
<React.StrictMode>
<App />
</React.StrictMode>
</>,
document.getElementById('root'),
)
ReactDOM.render(
<p
// This is a inline comment.
/*
This is a
Multi line comment
*/
<!-- Another multiline
comment !-->
data-test-id="outro" disabled>
Some text here.
</p>,
document.getElementById('root'),
)