UNPKG

jobiqo-cl

Version:

[![CircleCI](https://circleci.com/gh/jobiqo/jobiqo-cl.svg?style=svg&circle-token=5a24efa5b8bbc4879276123e77d0d3f35ca7144c)](https://circleci.com/gh/jobiqo/jobiqo-cl)

35 lines (29 loc) 1.54 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var React = require('react'); var React__default = _interopDefault(React); var index$2$1 = require('../../../../02-atoms/07-box/index.js'); var index$5 = require('../03-teaser/index.js'); var index = require('../../../../05-templates/02-jobs/01-split-view/index.js'); var index$1 = require('../05-detail/index.js'); /** * @file index.tsx * * @fileoverview Shows a placeholder when a jobs split screen page is loading. */ /** * Placeholder skeleton for jobs split screen for when page is loading. * Skeletons help provide some guidance to the user for * what the page will have while content is loading. */ const JobsSplitScreenPlaceholder = () => { return (React__default.createElement(index.SplitViewLayout, { sidebar: Array.from([1, 2, 3, 4, 5, 6, 7, 8]).map(jobPlaceholder => { return (React__default.createElement(index$2$1.default, { marginClean: true, key: jobPlaceholder }, React__default.createElement(index$5.JobTeaserPlaceholder, null))); }) }, React__default.createElement(index$2$1.default, { m: 0, boxShadow: "none" }, React__default.createElement("div", { style: { maxWidth: '500px' } }, React__default.createElement(index$1.JobDetailPlaceholder, null))))); }; exports.JobsSplitScreenPlaceholder = JobsSplitScreenPlaceholder;