export const Footer = (props?: IFooterProps) => {
return props?.button ? (
<View style={styles.container}>
<RNHoleView style={styles.background} holes={[hole]}>
<View style={styles.maskBorder}></View>
</RNHoleView>
{props.button}
</View>
) : (
<View style={styles.container}>
<View style={styles.background}></View>
</View>
);
};
export const Footer = (props?: IFooterProps) => {
return (
<View style={styles.container}>
{props && props.button ? (
<>
<RNHoleView style={styles.background} holes={[hole]}>
<View style={styles.maskBorder}></View>
</RNHoleView>
{props.button}
</>
) : (
<View style={styles.background}></View>
)}
</View>
);
};
export const Footer = (props?: IFooterProps) => {
return (
<View style={styles.container}>
{props?.button ? (
<>
<RNHoleView style={styles.background} holes={[hole]}>
<View style={styles.maskBorder}></View>
</RNHoleView>
{props.button}
</>
) : (
<View style={styles.background}></View>
)}
</View>
);
};