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_rh_cloud-0.9.5 webpack/stories/decorators/withCardsDecorator.js
foreman_rh_cloud-1.0.5 webpack/stories/decorators/withCardsDecorator.js
foreman_rh_cloud-0.9.4.1 webpack/stories/decorators/withCardsDecorator.js
foreman_rh_cloud-1.0.4.1 webpack/stories/decorators/withCardsDecorator.js
foreman_rh_cloud-1.0.4 webpack/stories/decorators/withCardsDecorator.js
foreman_rh_cloud-0.9.4 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-0.17.6 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-1.0.1 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-1.0.0 webpack/stories/decorators/withCardsDecorator.js
foreman_inventory_upload-1.0.3 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-0.17.5 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-0.17.4 webpack/stories/decorators/withCardsDecorator.js
foreman_inventory_upload-0.9.2 webpack/stories/decorators/withCardsDecorator.js
foreman_inventory_upload-1.0.2 webpack/stories/decorators/withCardsDecorator.js
foreman_inventory_upload-0.9.1 webpack/stories/decorators/withCardsDecorator.js
foreman_inventory_upload-1.0.1 webpack/stories/decorators/withCardsDecorator.js
foreman_inventory_upload-0.9.0 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-0.17.3 webpack/stories/decorators/withCardsDecorator.js
foreman_inventory_upload-1.0.0 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-0.17.2 webpack/stories/decorators/withCardsDecorator.js