|
@@ -2,7 +2,7 @@ import React, { MouseEvent } from 'react';
|
2
|
2
|
import { storiesOf } from '@storybook/react';
|
3
|
3
|
import { action } from '@storybook/addon-actions';
|
4
|
4
|
import { withInfo } from "@storybook/addon-info";
|
5
|
|
-import { withKnobs, number, boolean, select } from "@storybook/addon-knobs";
|
|
5
|
+import { withKnobs, number, boolean, select, text } from "@storybook/addon-knobs";
|
6
|
6
|
import { addReadme } from 'storybook-readme';
|
7
|
7
|
|
8
|
8
|
import ConsumeListView from '@/components/Payment/ConsumeListView';
|
|
@@ -114,7 +114,8 @@ stories.add(
|
114
|
114
|
onPriceChange={(v) => setPrice(v)}
|
115
|
115
|
size={select("size", { Small: "small", Normal: "normal", Large: "large"}, "normal")}
|
116
|
116
|
withTitle={boolean("withTitle", false)}
|
117
|
|
- titleText="Price Title"
|
|
117
|
+ titleText={text("titleText", "")}
|
|
118
|
+ inputPlaceholderText={text("inputPlaceholderText", "")}
|
118
|
119
|
focusScroll={boolean("focusScroll", false)}
|
119
|
120
|
inputRef={refInput}
|
120
|
121
|
/>
|