From 9105249c23b882eeef01043c0178df759e5f7cdc Mon Sep 17 00:00:00 2001 From: Laksh Singla <30999375+LakshSingla@users.noreply.github.com> Date: Fri, 16 Nov 2018 01:07:44 +0530 Subject: [PATCH] Add New File and New Folder buttons in Navbar (feature: #758) (#763) * Add New File and New Folder buttons in Navbar (feature: #758) * Moved the Add File and Add Folder butons from File to Sketch (feature: #758) --- client/components/Nav.jsx | 44 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/client/components/Nav.jsx b/client/components/Nav.jsx index 154d9695..59041120 100644 --- a/client/components/Nav.jsx +++ b/client/components/Nav.jsx @@ -1,8 +1,12 @@ import PropTypes from 'prop-types'; import React from 'react'; +import { bindActionCreators } from 'redux'; +import { connect } from 'react-redux'; +import { withRouter } from 'react-router'; import { Link } from 'react-router'; import InlineSVG from 'react-inlinesvg'; import classNames from 'classnames'; +import * as IDEActions from '../modules/IDE/actions/ide'; import { metaKeyName, @@ -315,6 +319,30 @@ class Nav extends React.PureComponent { Sketch +
  • + +
  • +
  • + +