mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Fix exports for react-icons lib to comply with commonjs * Regenrate lib definitions files * Change lib file template, regenrate files
12 lines
400 B
TypeScript
12 lines
400 B
TypeScript
import * as React from 'react';
|
|
import FaBeer from 'react-icons/fa/beer';
|
|
import { FaExclamation } from 'react-icons/fa';
|
|
import FaCog = require('react-icons/lib/fa/cog');
|
|
import { FaPowerOff } from 'react-icons/lib/fa';
|
|
|
|
class Question extends React.Component {
|
|
render() {
|
|
return <h3> Lets go for a <FaBeer /><FaExclamation />? It'll help you <FaPowerOff /> your <FaCog /></h3>;
|
|
}
|
|
}
|