mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
22 lines
418 B
JavaScript
22 lines
418 B
JavaScript
const React = require('react');
|
|
const { connect } = require('react-redux');
|
|
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; |