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-0.16.3 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-0.17.1 webpack/stories/decorators/withCardsDecorator.js
foreman_inventory_upload-1.0.0.beta7 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-0.15.11 webpack/stories/decorators/withCardsDecorator.js
foreman_inventory_upload-1.0.0.beta6 webpack/stories/decorators/withCardsDecorator.js
foreman_inventory_upload-1.0.0.beta5 webpack/stories/decorators/withCardsDecorator.js
foreman_inventory_upload-1.0.0.beta4 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-0.16.2 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-0.15.10 webpack/stories/decorators/withCardsDecorator.js
foreman_inventory_upload-1.0.0.beta3 webpack/stories/decorators/withCardsDecorator.js
foreman_inventory_upload-1.0.0.beta2 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-0.16.1 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-0.17.0 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-0.15.9 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-0.15.8 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-0.15.7 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-0.16.0 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-0.15.6 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-0.15.5 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-0.15.4 webpack/stories/decorators/withCardsDecorator.js