Skip to content

Commit c0bef55

Browse files
committed
Prettier
1 parent 92b06ee commit c0bef55

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

demo/components/ImageViewer/index.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,12 @@ class ImageViewer extends React.Component<ImageViewerComponentProps, ImageViewer
5656
});
5757

5858
return (
59-
<Modal visible={this.props.visible} transparent animationType={this.props.animationType} onRequestClose={this._closeInternal}>
59+
<Modal
60+
visible={this.props.visible}
61+
transparent
62+
animationType={this.props.animationType}
63+
onRequestClose={this._closeInternal}
64+
>
6065
<VirtualizedList
6166
horizontal
6267
showsHorizontalScrollIndicator={false}

src/index.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,12 @@ class ImageViewer extends React.Component<ImageViewerComponentProps, ImageViewer
5656
});
5757

5858
return (
59-
<Modal visible={this.props.visible} transparent animationType={this.props.animationType} onRequestClose={this._closeInternal}>
59+
<Modal
60+
visible={this.props.visible}
61+
transparent
62+
animationType={this.props.animationType}
63+
onRequestClose={this._closeInternal}
64+
>
6065
<VirtualizedList
6166
horizontal
6267
showsHorizontalScrollIndicator={false}

0 commit comments

Comments
 (0)