You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
379 B
18 lines
379 B
require('../../sass/board/titlebar.scss');
|
|
|
|
import { Component } from 'react';
|
|
import { connect } from 'react-redux';
|
|
|
|
export class Titlebar extends Component {
|
|
render() {
|
|
return (<div className='titlebar'>{this.props.title}</div>);
|
|
};
|
|
};
|
|
|
|
const select = (state) => {
|
|
return {
|
|
title: state.titlebar
|
|
}
|
|
};
|
|
|
|
export default connect(select)(Titlebar);
|
|
|