diff --git a/addons/info/.storybook/addons.js b/addons/info/.storybook/addons.js
index 5dea101a7c9a..e66a5589d2f9 100644
--- a/addons/info/.storybook/addons.js
+++ b/addons/info/.storybook/addons.js
@@ -1 +1,5 @@
+import '@storybook/addon-info/register';
+import '@storybook/addon-knobs/register';
import '@storybook/addon-actions/register';
+import '@storybook/addon-links/register';
+import '@storybook/addon-options/register';
diff --git a/addons/info/.storybook/config.js b/addons/info/.storybook/config.js
index 85ac9515b63c..d5de4d2949bc 100644
--- a/addons/info/.storybook/config.js
+++ b/addons/info/.storybook/config.js
@@ -1,15 +1,22 @@
-import React from 'react';
-import { configure, setAddon, addDecorator } from '@storybook/react';
-import InfoAddon from '../src/';
+import { configure, setAddon } from '@storybook/react';
+import { withInfo, setInfoOptions } from '@storybook/addon-info';
+import { setOptions } from '@storybook/addon-options';
-addDecorator((story) => (
-
- {story()}
-
-));
+setOptions({
+ downPanelInRight: true,
+})
-setAddon(InfoAddon);
+setAddon({
+ summary(info) {
+ return this.addDecorator(story => {
+ setInfoOptions(info);
+ return story();
+ })
+ }
+});
-configure(function () {
- require('../example/story');
-}, module);
+function loadStories() {
+ require('../src/components/stories');
+}
+
+configure(loadStories, module);
diff --git a/addons/info/.storybook/user/modify_webpack_config.js b/addons/info/.storybook/user/modify_webpack_config.js
deleted file mode 100644
index 2716de914d59..000000000000
--- a/addons/info/.storybook/user/modify_webpack_config.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = function (config) {
- // This is the default webpack config defined in the `../webpack.config.js`
- // modify as you need.
-};
diff --git a/addons/info/.storybook/webpack.config.js b/addons/info/.storybook/webpack.config.js
deleted file mode 100644
index 115532575ea6..000000000000
--- a/addons/info/.storybook/webpack.config.js
+++ /dev/null
@@ -1,28 +0,0 @@
-// IMPORTANT
-// ---------
-// This is an auto generated file with React CDK.
-// Do not modify this file.
-// Use `.storybook/user/modify_webpack_config.js instead`.
-
-const path = require('path');
-const updateConfig = require('./user/modify_webpack_config');
-
-const config = {
- module: {
- loaders: [
- {
- test: /\.css?$/,
- loaders: ['style', 'raw'],
- include: path.resolve(__dirname, '../'),
- },
- {
- test: /\.json?$/,
- loaders: ['json'],
- include: path.resolve(__dirname, '../'),
- }
- ],
- },
-};
-
-updateConfig(config);
-module.exports = config;
diff --git a/addons/info/CHANGELOG.md b/addons/info/CHANGELOG.md
deleted file mode 100644
index 0b2b1a1031d5..000000000000
--- a/addons/info/CHANGELOG.md
+++ /dev/null
@@ -1,85 +0,0 @@
-# Change Log
-
-### v3.3.0
-
-- Add setDefaults function [PR114](https://github.com/kadirahq/react-storybook-addon-info/pull/114)
-
-### v3.2.4
-
-- Add missing dist files [PR113](https://github.com/kadirahq/react-storybook-addon-info/pull/113)
-
-### v3.2.3
-
-- Handle number type nodes [PR110](https://github.com/kadirahq/react-storybook-addon-info/pull/110)
-
-### v3.2.2
-
-- Use markdown-to-react-components npm package instead of our fork. Our PR to them is merged and published. [PR109](https://github.com/kadirahq/react-storybook-addon-info/pull/109)
-
-### v3.2.1
-
-- Handle false values for types [PR54](https://github.com/kadirahq/react-storybook-addon-info/pull/54)
-
-### v3.2.0
-
-- Support custom MTRC config [PR54](https://github.com/kadirahq/react-storybook-addon-info/pull/54)
-- Fix propTables prop validation with a default value [PR55](https://github.com/kadirahq/react-storybook-addon-info/pull/55)
-
-### v3.1.4
-
-- Remove propTables prop validation warning [PR53](https://github.com/kadirahq/react-storybook-addon-info/pull/53)
-- Update example storybook [PR52](https://github.com/kadirahq/react-storybook-addon-info/pull/52)
-
-### v3.1.3
-
-- Fix wrong detection of propType when isRequired is set [PR49](https://github.com/kadirahq/react-storybook-addon-info/pull/49)
-- Add displayName for Button [PR51](https://github.com/kadirahq/react-storybook-addon-info/pull/51)
-
-### v3.1.2
-
-- Fixed a bug which made the `info` to not display and the `options` parameter to be ignored when `info` is not given.[PR45](https://github.com/kadirahq/react-storybook-addon-info/pull/45)
-
-### v3.1.1
-
-- Add a z-index for rendered items to make the overlay always display on top [PR38](https://github.com/kadirahq/react-storybook-addon-info/pull/38)
-
-### v3.1.0
-
-- Make the `info` argument optional [PR37](https://github.com/kadirahq/react-storybook-addon-info/pull/37)
-
-### v3.0.10
-
-- Render the component inside a div element when on inline mode [PR34](https://github.com/kadirahq/react-storybook-addon-info/pull/34)
-
-### v3.0.9
-
-- Add missing `@kadira/storybook` devDependencies [PR25](https://github.com/kadirahq/react-storybook-addon-info/pull/25)
-- Improve prop rendering in jsx source view [PR24](https://github.com/kadirahq/react-storybook-addon-info/pull/24)
-- Avoid warning message with "webkitFontSmoothing" [PR30](https://github.com/kadirahq/react-storybook-addon-info/pull/30)
-- Remove max-width style rule for wrapper [PR31](https://github.com/kadirahq/react-storybook-addon-info/pull/31) and [PR36](https://github.com/kadirahq/react-storybook-addon-info/pull/36)
-- Improve prop table rendering (handle css resets) [PR32](https://github.com/kadirahq/react-storybook-addon-info/pull/32)
-
-### v3.0.8
-
-- Fixed unkeyed array iteration warning in React with: [PR23](https://github.com/kadirahq/react-storybook-addon-info/pull/23)
-
-### v3.0.7
-
-- Improve default display in prop table. See [#16](https://github.com/kadirahq/react-storybook-addon-info/pull/16)
-
-### v3.0.6
-
-- Improve function type and react element type props display. See [#14](https://github.com/kadirahq/react-storybook-addon-info/pull/14)
-
-### v3.0.5
-
-- Over-indentation of ending tag in source code is fixed. See [#13](https://github.com/kadirahq/react-storybook-addon-info/pull/13)
-
-### v3.0.4
-
-- Remove the need to use json-loader with webpack when using this package.
- See: [#12](https://github.com/kadirahq/react-storybook-addon-info/issues/12)
-
-### v3.0.0
-
-- Add the version which works as an Storybook addon.
diff --git a/addons/info/docs/home-screenshot.png b/addons/info/docs/home-screenshot.png
deleted file mode 100644
index 65e7a787c120..000000000000
Binary files a/addons/info/docs/home-screenshot.png and /dev/null differ
diff --git a/addons/info/example/Button.js b/addons/info/example/Button.js
deleted file mode 100644
index df7c34c01288..000000000000
--- a/addons/info/example/Button.js
+++ /dev/null
@@ -1,20 +0,0 @@
-import PropTypes from 'prop-types';
-import React from 'react';
-
-const Button = ({ disabled, label, style, onClick }) => (
-
-);
-
-Object.assign(Button, {
- displayName: 'Button',
- propTypes: {
- label: PropTypes.string.isRequired,
- style: PropTypes.object,
- disabled: PropTypes.bool,
- onClick: PropTypes.func,
- },
-});
-
-export default Button;
diff --git a/addons/info/example/story.js b/addons/info/example/story.js
deleted file mode 100644
index e927751d8920..000000000000
--- a/addons/info/example/story.js
+++ /dev/null
@@ -1,192 +0,0 @@
-import React from 'react';
-import Button from './Button';
-
-import { storiesOf } from '@storybook/react';
-import { action } from '@storybook/addon-actions';
-
-storiesOf(
- 'Button'
-).addWithInfo(
- 'simple usage',
- 'This is the basic usage with the button with providing a label to show the text.',
- () => (
-
-
-
-
- Click the "?" mark at top-right to view the info.
-
-
- )
-);
-
-storiesOf('Button').addWithInfo(
- 'simple usage (inline info)',
- `
- This is the basic usage with the button with providing a label to show the text.
- `,
- () => ,
- { inline: true }
-);
-
-storiesOf('Button').addWithInfo(
- 'simple usage (disable source)',
- `
- This is the basic usage with the button with providing a label to show the text.
- `,
- () => ,
- { source: false, inline: true }
-);
-
-storiesOf('Button').addWithInfo(
- 'simple usage (no header)',
- `
- This is the basic usage with the button with providing a label to show the text.
- `,
- () => ,
- { header: false, inline: true }
-);
-
-storiesOf('Button').addWithInfo(
- 'simple usage (no prop tables)',
- `
- This is the basic usage with the button with providing a label to show the text.
- `,
- () => ,
- { propTables: false, inline: true }
-);
-
-storiesOf('Button').addWithInfo(
- 'simple usage (custom propTables)',
- `
- This is the basic usage with the button with providing a label to show the text.
-
- Since, the story source code is wrapped inside a div, info addon can't figure out propTypes on it's own.
- So, we need to give relevant React component classes manually using \`propTypes\` option as shown below:
-
- ~~~js
- storiesOf('Button')
- .addWithInfo(
- 'simple usage (custom propTables)',
- ,
- ,
- { inline: true, propTables: [Button]}
- );
- ~~~
- `,
- () => (
-
- Lorem ipsum dolor sit amet, consectetur adipiscing elit.
- Sed ornare massa rutrum metus commodo, a mattis velit dignissim.
- Fusce vestibulum turpis sed massa egestas pharetra. Sed at libero
- nulla.
-
- Lorem ipsum dolor sit amet, consectetur adipiscing elit.
- Sed ornare massa rutrum metus commodo, a mattis velit dignissim.
- Fusce vestibulum turpis sed massa egestas pharetra. Sed at libero
- nulla.
-