ironbar-persea/frontend/app/tabs/tab.js
2019-03-05 23:20:26 -06:00

24 lines
448 B
JavaScript

import React from 'react';
import {compose} from 'redux';
import contempo from 'contempo';
const decorate = compose(
contempo(require('./tab.scss'))
);
function Tab({
basename,
icon,
path
}) {
return <div className="tab">
<span className="icon">{icon}</span>
<span className="basename">{basename}</span>
<span className="path">{path}</span>
<span className="close"></span>
</div>;
}
export default decorate(Tab);