Last active
May 23, 2017 13:29
-
-
Save NickyYo/bf8254868f7185b34864dbbb76fa1879 to your computer and use it in GitHub Desktop.
Component
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 './style.scss'; | |
import * as React from 'react'; | |
import { Popover } from '../'; | |
import { Position } from '@blueprintjs/core'; | |
interface INavAccountPopover { } | |
export const NavAccountPopover: React.StatelessComponent<INavAccountPopover> = (props) => { | |
return (<Popover position={Position.BOTTOM_LEFT} content={(<div>ALL YOUR HTML AND STYLING HERE</div>)}> | |
<Button>When this is clicked the element inside the content tags is shown as a popover</Button> | |
</Popover>) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment