1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-02-21 19:06:18 +02:00
chroma/lexers/testdata/tsx.actual
Tristan Menzel 0da4bd1471 Adds support for jsx blocks in typescript lexer
Adds support for jsx tags with a period in their name
Adds support for jsx fragments (<></>)
2020-04-20 12:39:21 +10:00

13 lines
235 B
Plaintext

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'),
)