Files
optolith-client/js/views/TitleBarArrow.js
T
Lukas Obermann e1927227bf Changed data objects to ES6 classes
Additionally changed folder structure to components and views
2016-11-14 00:18:09 +01:00

19 lines
360 B
JavaScript

import React, { Component, PropTypes } from 'react';
class TitleBarArrow extends Component {
static propTypes = {
onClick: PropTypes.func.isRequired
};
render() {
return (
<svg width="19px" height="19px" onClick={this.props.onClick} >
<path d="M8,11V0H0v19h19v-8H8z M17,17H2V2h4v11h11V17z"/>
</svg>
);
}
}
export default TitleBarArrow;