mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-27 08:21:03 +02:00
b7f5f848f2
Will also allow using them when exporting HTML or PDF from CLI.
15 lines
349 B
JavaScript
15 lines
349 B
JavaScript
const React = require('react');
|
|
const { themeStyle } = require('lib/theme');
|
|
|
|
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;
|