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, {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
| /* | |
| Set the main wrapper component to | |
| take up the entire height of the page | |
| */ | |
| .App { | |
| min-height: 100vh; | |
| } | |
| /* | |
| To use Flexbox we need to set the display | |
| setting of the container component to flex. |
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
| .App { | |
| background-color: black; | |
| } | |
| .App .header { | |
| background-color: blue; | |
| } | |
| .App .body { | |
| background-color: red; |
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 ( | |
| <div className="App"> | |
| <div className="header"></div> | |
| <div className="body"> | |
| <div className="content"></div> | |
| <div className="sidebar"></div> |