Last active
June 7, 2016 16:18
-
-
Save gCardinal/638187ee5b098c324c731d4bd9532c8b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react' | |
const CSSModules = require('react-css-modules') as any | |
const styles = require("./ChatBubble.scss") as any | |
@CSSModules(styles) | |
export default class ChatBubble extends React.Component<any, any> | |
{ | |
render():JSX.Element | |
{ | |
return ( | |
<div className='bubble' styleName='chat-bubble'> | |
<img styleName='profile-picture' | |
{children} | |
<p styleName='timestamp'></p> | |
</div> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment