mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
19 lines
338 B
TypeScript
19 lines
338 B
TypeScript
import * as React from "react";
|
|
import * as ReactDOM from "react-dom";
|
|
import FontAwesome = require('react-fontawesome');
|
|
|
|
class TestComponent extends React.Component<{}, {}> {
|
|
|
|
render() {
|
|
|
|
return (
|
|
<FontAwesome
|
|
className='super-crazy-colors'
|
|
name="rocket"
|
|
size="2x"
|
|
spin
|
|
/>
|
|
);
|
|
}
|
|
}
|