Nextjs plugin to create stories documentation sites
npm install @component-controls/nextjs-plugin- In action
- Overview
- API
- FC
- getIndexPage
- getHomePagesPaths
- getDocHomePage
- getDocPagesPaths
- getDocPage
Next.js plugin for documenting your projects with component controls
- Exports building and store interfaces.
- Exports generic Layout component.
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 |
function
_defined in @component-controls/nextjs-plugin/integrations/nextjs-plugin/src/page-links.ts_
parameters
| Name | Type |
| --------- | ----------------- |
| returns | ReturnType<> |
function
_defined in @component-controls/nextjs-plugin/integrations/nextjs-plugin/src/page-links.ts_
parameters
| Name | Type |
| --------- | ----------- |
| returns | string\[] |
function
_defined in @component-controls/nextjs-plugin/integrations/nextjs-plugin/src/page-links.ts_
parameters
| Name | Type |
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| path* | string |
| returns | |DocHomePagesPathtype: "story" \| "blog" \| "page" \| "tags" \| "author" \| stringpath\*: stringdocId: stringstoryId: stringlastModified: stringdocIndex: boolean
function
_defined in @component-controls/nextjs-plugin/integrations/nextjs-plugin/src/page-links.ts_
parameters
| Name | Type |
| --------- | ----------- |
| returns | string\[] |
function
_defined in @component-controls/nextjs-plugin/integrations/nextjs-plugin/src/page-links.ts_
parameters
| Name | Type |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| docType* | "story" \| "blog" \| "page" \| "tags" \| "author" \| string |
| docId* | string\[] |
| returns | |DocPagesPathtype: DocTypepath\*: stringquery: stringlastModified: stringdocId: stringstoryId: stringcategory: stringactiveTab: string