How to use the @times-components/provider-test-tools.topic function in @times-components/provider-test-tools

To help you get started, we’ve selected a few @times-components/provider-test-tools 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 newsuk / times-components / packages / topic / topic.showcase.js View on Github external
component: (_, { decorateAction }) =>
        makeTopic(
          decorateAction,
          makeParams({
            articleVariables: iteration => ({
              first: pageSize,
              imageRatio: articleImageRatio,
              skip: (iteration - 1) * pageSize,
              slug: topicSlug
            }),
            count: 0,
            delay: 1500,
            name,
            pageSize,
            slug: topicSlug
          })
        ),
      name: "Empty State",