mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-15 09:04:04 +02:00
19 lines
398 B
TypeScript
19 lines
398 B
TypeScript
import * as React from 'react';
|
|
import { themeStyle } from '@joplin/lib/theme';
|
|
|
|
interface Props {
|
|
themeId: number;
|
|
}
|
|
|
|
class ToolbarSpace extends React.Component<Props> {
|
|
render() {
|
|
const theme = themeStyle(this.props.themeId);
|
|
const style = Object.assign({}, theme.toolbarStyle);
|
|
style.minWidth = style.height / 2;
|
|
|
|
return <span style={style}></span>;
|
|
}
|
|
}
|
|
|
|
export default ToolbarSpace;
|