fs-walle-react-ts/src/App.tsx

36 lines
974 B
TypeScript
Raw Normal View History

2017-06-12 08:46:08 +00:00
import * as React from 'react';
2017-06-14 08:33:46 +00:00
import { FocusStyleManager } from '@blueprintjs/core';
// import { Table, Cell, Column } from '@blueprintjs/table';
2017-06-12 08:46:08 +00:00
2017-06-14 08:33:46 +00:00
FocusStyleManager.onlyShowFocusOnTabs();
// const logo = require('./logo.svg');
2017-06-12 08:46:08 +00:00
class App extends React.Component<{}, null> {
render() {
return (
2017-06-14 08:33:46 +00:00
<nav className="pt-navbar pt-dark-app-background-color">
<div className="pt-navbar-group pt-align-left">
<span className="pt-icon-large pt-icon-edit pt-intent-success"/>
<div className="pt-navbar-heading">Lex Editor</div>
2017-06-12 08:46:08 +00:00
</div>
2017-06-14 08:33:46 +00:00
</nav>
2017-06-12 08:46:08 +00:00
);
}
}
2017-06-14 08:33:46 +00:00
// class LexEditor extends React.Component<{}, null> {
// render() {
// const renderCell = (rowIndex: number) => {
// return <Cell>{`$${(rowIndex * 10).toFixed(2)}`}</Cell>;
// };
// return (
// <Table numRows={10}>
// <Column name="Dollars" renderCell={renderCell}/>
// </Table>
// );
// }
// }
2017-06-12 08:46:08 +00:00
export default App;