mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
14 lines
381 B
TypeScript
14 lines
381 B
TypeScript
import * as React from 'react';
|
|
import Highlight from 'react-highlight';
|
|
|
|
export const _ = () => (
|
|
<>
|
|
<Highlight />
|
|
<Highlight className="javascript" />
|
|
<Highlight className="typescript">`console.log("Hello, world!");`</Highlight>
|
|
<Highlight innerHTML />
|
|
<Highlight innerHTML={true} />
|
|
<Highlight innerHTML={false} />
|
|
</>
|
|
);
|