Skip to content

Commit

Permalink
feat: update storybook description document
Browse files Browse the repository at this point in the history
  • Loading branch information
ProfBramble committed Oct 12, 2020
1 parent f5427c6 commit b981002
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/stories/circle.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react';
import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import { object } from '@storybook/addon-knobs';
import { Circle } from '../components/circle';
import Circle from '../components/circle';
import { PropsTable } from './components/propsTable';
import './style/index.scss';
import '../styles/index.scss';
Expand Down
2 changes: 1 addition & 1 deletion src/stories/contextMenu.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Tree } from 'antd';
import { storiesOf } from '@storybook/react';
import { withKnobs } from '@storybook/addon-knobs';
import { PropsTable } from './components/propsTable';
import { ContextMenu } from '../components/context-menu'
import ContextMenu from '../components/contextMenu'
const { TreeNode } = Tree;
const { ContextMenuItem } = ContextMenu;
const stories = storiesOf('ContextMenu 右键菜单', module);
Expand Down
2 changes: 1 addition & 1 deletion src/stories/formComponent.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ stories.add('FormItem', () => (
代码示例:
~~~js
import { Form } from 'antd';
import { RenderFormItem } from 'dt-react-component'
import RenderFormItem from 'dt-react-component'
const App = (props) => {
const { getFieldDecorator } = props.form;
const params = { ...props, getFieldDecorator }
Expand Down
2 changes: 1 addition & 1 deletion src/stories/index.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { storiesOf } from '@storybook/react';
import { FaGitlab } from 'react-icons/fa';
import MarkdownRender from '../components/markdown-render';
import MarkdownRender from '../components/markdownRender';
import { notShowProps } from './func';
import './style';
const html = require('../../CHANGELOG.md');
Expand Down
2 changes: 1 addition & 1 deletion src/stories/markdownRender.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { storiesOf } from '@storybook/react';
import { PropsTable } from './components/propsTable';
import MarkdownRender from '../components/markdown-render';
import MarkdownRender from '../components/markdownRender';
import '../styles/index.scss';
const testHtml = require('./markdown/testData.md');
const stories = storiesOf('MarkdownRender markdown 渲染', module);
Expand Down

0 comments on commit b981002

Please sign in to comment.