Skip to content

Commit a31979e

Browse files
committed
adds cover option on storybook
1 parent 56e5782 commit a31979e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

storybook/stories/DifferentSizesStory.jsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
ALIGN_LEFT,
88
ALIGN_RIGHT,
99
ALIGN_TOP,
10+
ALIGN_COVER,
1011
UncontrolledReactSVGPanZoom
1112
} from '../../src/index';
1213

@@ -34,12 +35,14 @@ export default class DifferentSizesStory extends Component {
3435
SVGAlignX: select('toolbarProps.SVGAlignX', {
3536
[ALIGN_LEFT]: ALIGN_LEFT,
3637
[ALIGN_CENTER]: ALIGN_CENTER,
37-
[ALIGN_RIGHT]: ALIGN_RIGHT
38+
[ALIGN_RIGHT]: ALIGN_RIGHT,
39+
[ALIGN_COVER]: ALIGN_COVER,
3840
}, ALIGN_LEFT),
3941
SVGAlignY: select('toolbarProps.SVGAlignY', {
4042
[ALIGN_TOP]: ALIGN_TOP,
4143
[ALIGN_CENTER]: ALIGN_CENTER,
42-
[ALIGN_BOTTOM]: ALIGN_BOTTOM
44+
[ALIGN_BOTTOM]: ALIGN_BOTTOM,
45+
[ALIGN_COVER]: ALIGN_COVER,
4346
}, ALIGN_TOP),
4447
}
4548

0 commit comments

Comments
 (0)