Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | 10x | import { Text, View } from 'react-native';
import { NativeErrorContent } from '../../ErrorPopUp.types';
import { Button } from '@sb/ui/components/atoms/Button/mobile';
import { footerButtonClasses, footerButtonTextStyle, paragraphClasses } from './utils';
export function NativeWaitingPeriod(
onClose: () => void,
onLugasClick: () => void
): NativeErrorContent {
return {
title: '5 Minuten Boxenstopp',
description: (
<View>
<Text className={paragraphClasses}>
Wenn du dich bei uns oder einem anderen Wettanbieter abmeldest, verlangt LUGAS eine
Wartezeit von 5 Minuten, bevor du eine Wette platzieren oder Cashout nehmen kannst.
</Text>
<View className="mt-2 flex flex-col gap-3">
<Button
onPress={onClose}
label="Schliessen"
variant="secondary"
className={footerButtonClasses}
textStyle={footerButtonTextStyle}
/>
<Button
variant="ghostDark"
onPress={onLugasClick}
label="Wer oder was ist LUGAS?"
className={footerButtonClasses}
textStyle={footerButtonTextStyle}
/>
</View>
</View>
),
footerButtonLabel: '',
};
}
|