import * as React from 'react';
import { BlueRain, BlueRainConsumer } from '@blueeast/bluerain-os';

const LauncherAppBar = () => {
	return (
		<BlueRainConsumer>
			{
				(BR: BlueRain) => {
					const title = BR.Configs.get('title') || '';
					return (
							<BR.Components.AppBar title={title} />
					);
				}
			}
		</BlueRainConsumer>
	);
};

export default LauncherAppBar;