mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-07 22:38:13 +08:00
14 lines
302 B
TypeScript
14 lines
302 B
TypeScript
import * as React from 'react';
|
|
import * as Highlight from 'react-highlighter';
|
|
|
|
export class ReactHolderTest extends React.Component {
|
|
render() {
|
|
return (
|
|
<div>
|
|
<Highlight
|
|
search="test">test</Highlight>
|
|
</div>
|
|
);
|
|
}
|
|
}
|