mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-29 00:51:29 +08:00
react-icons now exposes via lib as well as per https://gorangajic.github.io/react-icons/#usage
12 lines
394 B
TypeScript
12 lines
394 B
TypeScript
import * as React from 'react';
|
|
import FaBeer from 'react-icons/fa/beer';
|
|
import { FaExclamation } from 'react-icons/fa';
|
|
import FaCog from '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>;
|
|
}
|
|
}
|