mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Added react-highlight types * React TS version 2.6 * No "I" interface prefix * Whoops, P template also
10 lines
227 B
TypeScript
10 lines
227 B
TypeScript
import * as React from "react";
|
|
import Highlight from "react-highlight";
|
|
|
|
export const _ = () => <>
|
|
<Highlight className="javascript" />
|
|
<Highlight className="typescript">
|
|
`console.log("Hello, world!");`
|
|
</Highlight>
|
|
</>;
|