2018-06-14 09:52:12 +02:00
|
|
|
const React = require('react');
|
2020-11-07 17:59:37 +02:00
|
|
|
const { themeStyle } = require('@joplin/lib/theme');
|
2018-06-14 09:52:12 +02:00
|
|
|
|
|
|
|
class ToolbarSpace extends React.Component {
|
|
|
|
render() {
|
2020-09-15 15:01:07 +02:00
|
|
|
const theme = themeStyle(this.props.themeId);
|
2018-06-14 09:52:12 +02:00
|
|
|
const style = Object.assign({}, theme.toolbarStyle);
|
|
|
|
style.minWidth = style.height / 2;
|
|
|
|
|
2019-07-29 14:13:23 +02:00
|
|
|
return <span style={style}></span>;
|
2018-06-14 09:52:12 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-29 14:13:23 +02:00
|
|
|
module.exports = ToolbarSpace;
|