react-cosmos-docs-proxy

1.0.0 • Public • Published

react-docs-cosmos-proxy

Build Status


react-cosmos

A react-cosmos plugin to show component documentation generated using react-docgen.

Usage

Follow the react-cosmos instructions before setting this up.

The recommended way to get the component docs is to use babel-plugin-react-docgen and include it in your .babelrc:

{
  plugins: ['react-docgen']
}

Then just add the proxy to cosmos.proxies.js:

import createDocsProxy from 'react-cosmos-docs-proxy';
 
export default [
  createDocsProxy()
];

Package Sidebar

Install

npm i react-cosmos-docs-proxy

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

296 kB

Total Files

122

Last publish

Collaborators

  • nighttrax