mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-12 08:54:00 +02:00
22 lines
418 B
React
22 lines
418 B
React
|
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;
|