mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
21 lines
485 B
JavaScript
21 lines
485 B
JavaScript
|
import React from 'react'
|
||
|
|
||
|
const Sidebar = (props) => (
|
||
|
<aside id="sidebar" className="pane">
|
||
|
<header className="header header-clickable">
|
||
|
<h2><a href="#">Insomnia</a></h2>
|
||
|
</header>
|
||
|
<ul className="sidebar-items">
|
||
|
{[0, 1, 2, 3, 4].map((i) => {
|
||
|
return <li key={i} className={'sidebar-item ' + (i === 0 ? 'active': '')}>
|
||
|
<a href="#">Item 1</a>
|
||
|
</li>;
|
||
|
})}
|
||
|
</ul>
|
||
|
</aside>
|
||
|
);
|
||
|
|
||
|
Sidebar.propTypes = {};
|
||
|
|
||
|
export default Sidebar;
|