Skip to content

Commit

Permalink
removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhananjayan-PN committed May 17, 2021
1 parent 92b013e commit 6c50865
Showing 1 changed file with 0 additions and 48 deletions.
48 changes: 0 additions & 48 deletions src/dialog/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,55 +30,7 @@ const Dialog: Dialog = Object.assign(
testID="Internal__Overlay"
{...rest}
>
{/* {loading && (
<View style={styles.loadingView}>
<ActivityIndicator
style={StyleSheet.flatten([styles.loading, loadingStyle])}
color={loadingProps.color ?? theme.colors.primary}
size={loadingProps.size ?? 'large'}
{...loadingProps}
/>
</View>
)} */}

{/* {title && !loading && (
<Text
style={StyleSheet.flatten([styles.title, titleStyle])}
{...titleProps}
>
{title}
</Text>
)} */}

<View style={styles.childrenContainer}>{children}</View>

{/* {!loading && !noButtons && (
<View style={styles.buttonView} testID="Button__View">
<Button
style={{ marginLeft: 5 }}
title={primary.toUpperCase()}
titleStyle={styles.buttonTitle}
containerStyle={{
width: 'auto',
}}
onPress={primaryOnPress ?? onBackdropPress}
testID="Primary__Button"
{...primaryButtonProps}
/>
{secondary !== null ? (
<Button
title={secondary.toUpperCase()}
titleStyle={styles.buttonTitle}
containerStyle={{
width: 'auto',
}}
onPress={secondaryOnPress}
testID="Secondary__Button"
{...secondaryButtonProps}
/>
) : null}
</View>
)} */}
</Overlay>
);
}
Expand Down

0 comments on commit 6c50865

Please sign in to comment.