jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
25 lines (22 loc) • 1.52 kB
JavaScript
import React__default from 'react';
import ContentLoader from '../../../../../../node_modules/react-content-loader/dist/react-content-loader.es.js';
/**
* @file index.tsx
*
* @fileoverview Shows a placeholder when a facet is loading.
*/
/**
* Placeholder skeleton for job facets for when page is loading.
* Skeletons help provide some guidance to the user for what the
* page will have while content is loading.
*/
const JobFacetPlaceholder = () => (React__default.createElement(ContentLoader, { height: 120, width: 400, speed: 2, primaryColor: "#f3f3f3", secondaryColor: "#ecebeb" },
React__default.createElement("rect", { x: "0", y: "15", rx: "0", ry: "0", width: "12", height: "12" }),
React__default.createElement("rect", { x: "25", y: "15", rx: "5", ry: "5", width: "300", height: "12" }),
React__default.createElement("rect", { x: "0", y: "45", rx: "0", ry: "0", width: "12", height: "12" }),
React__default.createElement("rect", { x: "25", y: "45", rx: "5", ry: "5", width: "230", height: "12" }),
React__default.createElement("rect", { x: "0", y: "75", rx: "0", ry: "0", width: "12", height: "12" }),
React__default.createElement("rect", { x: "25", y: "75", rx: "5", ry: "5", width: "200", height: "12" }),
React__default.createElement("rect", { x: "0", y: "105", rx: "0", ry: "0", width: "12", height: "12" }),
React__default.createElement("rect", { x: "25", y: "105", rx: "5", ry: "5", width: "270", height: "12" })));
export { JobFacetPlaceholder };