Rename components

main
Mike Fix 8 years ago
parent 0bf01d6fbe
commit c61f2184a9

@ -2,7 +2,7 @@ import { EOL } from 'os'
import React from 'react' import React from 'react'
import domtoimage from 'dom-to-image' import domtoimage from 'dom-to-image'
import CodeMirror from 'react-codemirror' import CodeMirror from 'react-codemirror'
import WindowControls from '../components/svg/controls' import WindowControls from '../components/svg/Controls'
// hack to only call modes on browser // hack to only call modes on browser
if (typeof window !== 'undefined' && typeof window.navigator !== 'undefined') { if (typeof window !== 'undefined' && typeof window.navigator !== 'undefined') {

@ -1,6 +1,6 @@
import React from 'react' import React from 'react'
import enhanceWithClickOutside from 'react-click-outside' import enhanceWithClickOutside from 'react-click-outside'
import ArrowDown from './svg/arrowdown' import ArrowDown from './svg/Arrowdown'
class Dropdown extends React.Component { class Dropdown extends React.Component {
constructor(props) { constructor(props) {

@ -1,6 +1,6 @@
import React from 'react' import React from 'react'
import enhanceWithClickOutside from 'react-click-outside' import enhanceWithClickOutside from 'react-click-outside'
import SettingsIcon from './svg/settings' import SettingsIcon from './svg/Settings'
class Settings extends React.Component { class Settings extends React.Component {
constructor(props) { constructor(props) {

@ -1,8 +1,8 @@
import React from 'react' import React from 'react'
import Dropdown from './dropdown' import Dropdown from './Dropdown'
import ColorPicker from './colorpicker' import ColorPicker from './Colorpicker'
import Settings from './settings' import Settings from './Settings'
import Button from './button' import Button from './Button'
import { THEMES, LANGUAGES } from '../lib/constants' import { THEMES, LANGUAGES } from '../lib/constants'
const Toolbar = (props) => ( const Toolbar = (props) => (

@ -4,9 +4,9 @@ import { DragDropContext } from 'react-dnd'
import Axios from 'axios' import Axios from 'axios'
import domtoimage from 'dom-to-image' import domtoimage from 'dom-to-image'
import Meta from '../components/meta' import Meta from '../components/Meta'
import Toolbar from '../components/toolbar' import Toolbar from '../components/Toolbar'
import CodeImage from '../components/codeImage' import CodeImage from '../components/CodeImage'
import api from '../lib/api' import api from '../lib/api'
import { THEMES, LANGUAGES, DEFAULT_CODE } from '../lib/constants' import { THEMES, LANGUAGES, DEFAULT_CODE } from '../lib/constants'

Loading…
Cancel
Save