@component-controls/base-integration

base integration routines and components

Usage no npm install needed!

<script type="module">
  import componentControlsBaseIntegration from 'https://cdn.skypack.dev/@component-controls/base-integration';
</script>

README

Table of contents

In action

Live site

Overview

react-router integration plugin for webpack sites documenting your projects with component controls

  • Exports list of routes for use in node.js environment
  • Exports react ui components to use in browser environment

API

FC

type

defined in @types/react/types/react/index.d.ts

properties

Name Type Parent
propTypes WeakValidationMap<> | undefined FunctionComponent
contextTypes ValidationMap<> | undefined FunctionComponent
defaultProps Partial<P> | undefined FunctionComponent
displayName string | undefined FunctionComponent

LayoutProps

type

defined in @component-controls/base-integration/integrations/base-integration/src/components/Layout.tsx

properties

Name Type Parent Description
type "story" | "blog" | "page" | "tags" | "author" | string DocHomePagesPath
docId string DocHomePagesPath
storyId string DocHomePagesPath
lastModified string