Skip to content

Commit

Permalink
adds cover option on storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
chrvadala committed Jan 5, 2020
1 parent 56e5782 commit a31979e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions storybook/stories/DifferentSizesStory.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
ALIGN_LEFT,
ALIGN_RIGHT,
ALIGN_TOP,
ALIGN_COVER,
UncontrolledReactSVGPanZoom
} from '../../src/index';

Expand Down Expand Up @@ -34,12 +35,14 @@ export default class DifferentSizesStory extends Component {
SVGAlignX: select('toolbarProps.SVGAlignX', {
[ALIGN_LEFT]: ALIGN_LEFT,
[ALIGN_CENTER]: ALIGN_CENTER,
[ALIGN_RIGHT]: ALIGN_RIGHT
[ALIGN_RIGHT]: ALIGN_RIGHT,
[ALIGN_COVER]: ALIGN_COVER,
}, ALIGN_LEFT),
SVGAlignY: select('toolbarProps.SVGAlignY', {
[ALIGN_TOP]: ALIGN_TOP,
[ALIGN_CENTER]: ALIGN_CENTER,
[ALIGN_BOTTOM]: ALIGN_BOTTOM
[ALIGN_BOTTOM]: ALIGN_BOTTOM,
[ALIGN_COVER]: ALIGN_COVER,
}, ALIGN_TOP),
}

Expand Down

0 comments on commit a31979e

Please sign in to comment.