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-8.1.4 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-8.1.3 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-8.1.2 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-8.1.1 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-8.1.0 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-8.0.2 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-8.0.1 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-8.0.0 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-7.2.1 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-7.1.1 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-7.2.0 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-7.1.0 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-6.0.3 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-7.0.0 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-6.0.2 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-4.1.6 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-5.2.3 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-6.0.1 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-5.2.2 webpack/stories/decorators/withCardsDecorator.js
foreman-tasks-6.0.0 webpack/stories/decorators/withCardsDecorator.js