mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
22 lines
419 B
TypeScript
22 lines
419 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
|
|
style={
|
|
{ textShadow: '0 1px 0 rgba(0, 0, 0, 0.1)' }
|
|
}
|
|
/>
|
|
);
|
|
}
|
|
}
|