import React from 'react';

const styles = {
    display: 'flex',
    justifyContent: 'center',
    alignItems: 'center',
    height: '100vh',
};

export default storyFn =>
    <div style={styles}>
        {storyFn()}
    </div>;

import React from 'react';

const styles = {
    display: 'flex',
    justifyContent: 'center',
    alignItems: 'center',
    minHeight: '100vh',
};

export default storyFn => <div style={styles}>{storyFn()}</div>;

Update Centering decorator to use `minHeight`
Update Centering decorator to use `minHeight`
