import { BlueRain, BlueRainConsumer } from '@blueeast/bluerain-os';
import React from 'react';
import storiesOf from '@blueeast/bluerain-storybook-addon';
import AppGrid from '../AppGrid';

storiesOf('BlueRain', module)
	.add('AppGrid', () => (
		<BlueRainConsumer>
			{(BR: BlueRain) => (
				<BR.Components.View style={{ width: '100%', height: '100%', backgroundColor: 'purple' }}>
					<AppGrid />
				</BR.Components.View>
			)}
		</BlueRainConsumer>
	));