Sha256: babdfcd1c7bf2e0d01685b39ce5760a885b5fdf9f479e1f85b6d1bef685afe55

Contents?: true

Size: 289 Bytes

Versions: 102

Compression:

Stored size: 289 Bytes

Contents

import React from 'react';

export const withCardsDecorator = storyFn => (
  <div
    style={{
      width: '100%',
      height: '100vh',
      backgroundColor: '#F5F5F5',
      padding: '50px',
    }}
  >
    <div style={{ width: '300px', margin: 'auto' }}>{storyFn()}</div>
  </div>
);

Version data entries

102 entries across 102 versions & 3 rubygems

Version Path
foreman-tasks-3.0.1 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-3.0.0 webpack/stories/decorators/withCardsDecorator.js
foreman_rh_cloud-0.9.10 webpack/stories/decorators/withCardsDecorator.js
foreman_rh_cloud-1.0.10 webpack/stories/decorators/withCardsDecorator.js
foreman_rh_cloud-1.0.9 webpack/stories/decorators/withCardsDecorator.js
foreman_rh_cloud-0.9.9 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-2.0.2 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-1.1.3 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-1.1.2 webpack/stories/decorators/withCardsDecorator.js
foreman_rh_cloud-0.9.8 webpack/stories/decorators/withCardsDecorator.js
foreman_rh_cloud-1.0.8 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-2.0.1 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-2.0.0 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-1.2.0 webpack/stories/decorators/withCardsDecorator.js
foreman_rh_cloud-0.9.7 webpack/stories/decorators/withCardsDecorator.js
foreman_rh_cloud-1.0.7 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-1.1.1 webpack/stories/decorators/withCardsDecorator.js
foreman_rh_cloud-0.9.6 webpack/stories/decorators/withCardsDecorator.js
foreman_rh_cloud-1.0.6 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-1.1.0 webpack/stories/decorators/withCardsDecorator.js