import React from "react"; import { connect } from "react-redux"; import { reverseList, randomizeList, sortListByTitle, downloadHtmlPlaylist } from "../../actionCreators"; import { Hr, Node } from "../ContextMenu"; import ContextMenuTarget from "../ContextMenuTarget"; import PlaylistMenu from "./PlaylistMenu"; /* eslint-disable no-alert */ /* TODO: This should really be kitty-corner to the upper right hand corner of the MiscMenu */ const SortContextMenu = props => ( } >
); const ConnectedSortContextMenu = connect( null, { reverseList, randomizeList, sortListByTitle } )(SortContextMenu); const MiscOptionsContextMenu = props => ( } > ); const ConnectedMiscOptionsContextMenu = connect( null, { downloadHtmlPlaylist } )(MiscOptionsContextMenu); const MiscMenu = () => (
e.stopPropagation()}>
alert("Not supported in Webamp")} />
e.stopPropagation()}>
); export default MiscMenu;