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, {PropTypes as T} from 'react' | |
import {Breadcrumb, IBreadcrumbItem} from 'office-ui-fabric-react/lib/Breadcrumb' | |
import {CommandBar} from 'office-ui-fabric-react/lib/CommandBar' | |
import {IContextualMenuItem} from 'office-ui-fabric-react/lib/ContextualMenu' | |
import {MarqueeSelection} from 'office-ui-fabric-react/lib/MarqueeSelection' | |
import { | |
Selection, | |
SelectionMode, | |
SelectionZone, | |
} from 'office-ui-fabric-react/lib/utilities/selection' |
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 from 'react' | |
class App extends React.Component { | |
render() { | |
return ( | |
<h1>Hello, world!!!</h1> | |
) | |
} | |
} |
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 from 'react' | |
import {render} from 'react-dom' | |
import App from './App.js' | |
const $rootEl = document.getElementById('root') | |
render(<App />, $rootEl) |
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
const getConfig = require('hjs-webpack') | |
const webpack = require('webpack') | |
const Visualizer = require('webpack-visualizer-plugin'); | |
const config = getConfig({ | |
// Entry point for the app. | |
in: 'src/index.js', | |
// Name of the output directory | |
out: 'public', | |
output: { |
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 AWS from 'aws-sdk' | |
import credentials from '../../credentials.json' | |
const region = 'us-east-1' | |
const config = {region, credentials} | |
AWS.config.update(config) | |
export const S3 = new AWS.S3() |