mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-27 10:32:58 +02:00
15 lines
351 B
JavaScript
15 lines
351 B
JavaScript
const React = require('react');
|
|
const { themeStyle } = require('../theme.js');
|
|
|
|
class ToolbarSpace extends React.Component {
|
|
render() {
|
|
const theme = themeStyle(this.props.theme);
|
|
const style = Object.assign({}, theme.toolbarStyle);
|
|
style.minWidth = style.height / 2;
|
|
|
|
return <span style={style}></span>;
|
|
}
|
|
}
|
|
|
|
module.exports = ToolbarSpace;
|