This file contains hidden or 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 React, { Component } from 'react'; | |
import { ContextMenu, Item, Separator, Submenu, ContextMenuProvider } from 'react-contexify'; | |
import 'react-contexify/dist/ReactContexify.min.css'; | |
const ContextMenuItems = props => ( | |
<ContextMenu id='menu_id'> | |
<Item onClick={props.onClick}>Edit</Item> | |
<Separator /> | |
<Submenu label="Set Reminder" arrow={<i className="material-icons"></i>}> |
This file contains hidden or 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 React,{Component} from 'react' | |
import Nav from '../Nav' | |
const styles = { | |
left : { | |
width: '250px', | |
height: '150px', | |
border: '1px solid #DCDCDC', | |
float: 'left' | |
}, |
This file contains hidden or 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
[ | |
{ | |
"name": "Afghanistan", | |
"code": "AF" | |
}, | |
{ | |
"name": "Åland Islands", | |
"code": "AX" | |
}, | |
{ |