How to use the catalog.pageLoader function in catalog

To help you get started, we’ve selected a few catalog examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ticketmaster / aurora / catalog / pages / bottom_sheet / index.js View on Github external
export default {
  path: "/bottomSheet",
  title: "Bottom Sheet",
  imports: {
    BottomSheet,
    Backdrop,
    Section,
    SectionItem,
    sections,
    ListRowOverflow,
    TransitionGroup,
    CSSTransition,
    MAX_COLUMNS
  },
  content: pageLoader(() => import("./index.md"))
};
github ticketmaster / aurora / catalog / pages / list_row / index.js View on Github external
Section,
    SectionItem,
    Button,
    listItems,
    sections,
    pureListItems,
    ThumbnailCircleImage,
    ResponsiveHeader,
    onOverflowButtonClick,
    MAX_COLUMNS,
    Container,
    Row,
    Column,
    Text
  },
  content: pageLoader(() => import("./index.md"))
};
github ticketmaster / aurora / catalog / pages / banner / index.js View on Github external
/>
      
    );
  }
}

export default {
  path: "/banner",
  title: "Banner",
  imports: {
    Banner,
    ClearIcon,
    Spacing,
    FunctionalBannerDemo
  },
  content: pageLoader(() => import("./index.md"))
};
github ticketmaster / aurora / catalog / pages / links / index.js View on Github external
import { Link, LinkCta, Text } from "../../../src/components/Text";

export default {
  path: "/links",
  title: "Links",
  imports: {
    Link,
    LinkCta,
    Text,
    ThemeProvider,
    Container,
    Row,
    Column,
    Spacing
  },
  content: pageLoader(() => import("./index.md"))
};
github rhiokim / monorepo-sample / services / styleguide / src / index.js View on Github external
import React from 'react'
import ReactDOM from 'react-dom'
import { Catalog, pageLoader } from 'catalog'

import Panel from 'components/lib/Panel'
import Button from 'components/lib/Button'

ReactDOM.render(
  ,
  document.getElementById('root')
)
github reactabular / reactabular / docs / data / index.js View on Github external
export default rootPath => ({
  title: 'Data',
  pages: [
    {
      path: `${rootPath}/resolving`,
      title: 'Resolving',
      content: pageLoader(() => import('table-resolver/README.md'))
    },
    {
      path: `${rootPath}/inline-editing`,
      title: 'Inline Editing',
      content: pageLoader(() => import('./inline-editing.md'))
    },
    {
      path: `${rootPath}/sorting`,
      title: 'Sorting',
      content: pageLoader(() => import('sortabular/README.md'))
    },
    {
      path: `${rootPath}/pagination`,
      title: 'Pagination',
      content: pageLoader(() => import('./pagination.md'))
    },
    {
      path: `${rootPath}/tree`,
      title: 'Tree',
      content: pageLoader(() => import('treetabular/README.md'))
    }
github ticketmaster / aurora / catalog / pages / icons / index.js View on Github external
Column,
    Container,
    Row,

    iconStyle,
    iconLabelStyle,
    PlusIcon,
    CreateNewIcon,
    FraudulentActivityIcon,
    PrintIcon,
    FavoriteIcon,
    LaunchIcon,
    PlayCircularIcon
  },
  content: pageLoader(() => import("./index.md"))
};
github ticketmaster / aurora / catalog / pages / status_badge / index.js View on Github external
import { pageLoader } from "catalog";

import StatusBadgeDemo from "./StatusBadgeDemo";
import { Spacing, themes } from "../../../src";
import {StatusBadge} from "../../../src/components/StatusBadge";

export default {
  path: "/status_badge",
  title: "Status Badge",
  imports: {
    StatusBadgeDemo,
    Spacing,
    StatusBadge,
    themes
  },
  content: pageLoader(() => import("./index.md"))
};
github ticketmaster / aurora / catalog / pages / colors / index.js View on Github external
}
            ]
    }))
    .reduce((acc, cur) => ({ ...acc, ...cur }), {});

const imports = {
  ...getImports("global", global),
  ...getImports("tm", tm),
  ...getImports("lne", lne)
};

export default {
  path: "/colors",
  title: "Colors",
  imports,
  content: pageLoader(() => import("./index.md"))
};
github ticketmaster / aurora / catalog / pages / nav_bar / index.js View on Github external
export default {
  path: "/nav_bar",
  title: "Nav Bar",
  imports: {
    NavBar,
    Header,
    Button,
    Spacing,
    Container,
    Column,
    Row,
    DeviceSizeProvider,
    DisplayFor,
    DrawerProvider
  },
  content: pageLoader(() => import("./index.md"))
};