mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 05:27:57 -05:00
* refactor(INJI-569): changing png to svg images from setup to home screen Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com> * Refactor(INJI-569): changing png to svg images settings screen Signed-off-by: anil_majji <majjianilkumar050@gmail.com> * [INJI-569] changing png to svg image Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com> * [INJI-569]: Adjusted all the alignment in settings screen Signed-off-by: anil_majji <majjianilkumar050@gmail.com> * [INJI-569] fix SuccessLogo size and and alignment Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com> * [INJI-569] refactor theme files and removing unused QrLoginWarning component Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com> * [INJI-569] changing the naming convention of svg images Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com> * [INJI-569] fix Typo mistake and remove unused imports Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com> * [INJI-569] fix Typo mistake, misssing imports and remove unused elements Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com> * [INJI-569]: Adjusted all the alignment of icons with tag name in settings screen Signed-off-by: anil_majji <majjianilkumar050@gmail.com> * [INJI-569] renaming the files Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com> --------- Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com> Signed-off-by: anil_majji <majjianilkumar050@gmail.com> Co-authored-by: anil_majji <majjianilkumar050@gmail.com>
44 lines
1.2 KiB
TypeScript
44 lines
1.2 KiB
TypeScript
import React from 'react';
|
|
import {Dimensions, View} from 'react-native';
|
|
import {Centered, Column} from './Layout';
|
|
import {Theme} from './styleUtils';
|
|
import {Text} from './Text';
|
|
import testIDProps from '../../shared/commonUtil';
|
|
import {SvgImage} from '../../components/ui/svg';
|
|
|
|
export const SquircleIconPopUpModal: React.FC<
|
|
SquircleIconPopUpModalProps
|
|
> = props => {
|
|
return (
|
|
<View
|
|
{...testIDProps(props.testId)}
|
|
style={Theme.MessageStyles.viewContainer}
|
|
onTouchStart={props.onBackdropPress}>
|
|
<Centered fill>
|
|
<Column
|
|
width={Dimensions.get('screen').width * 0.8}
|
|
height={Dimensions.get('screen').width * 0.8}
|
|
style={Theme.MessageStyles.squircleContainer}>
|
|
<Column crossAlign="center">
|
|
{SvgImage.SuccessLogo()}
|
|
{props.message && (
|
|
<Text
|
|
margin="25 0 0 0"
|
|
weight={'semibold'}
|
|
style={{fontSize: 17, textAlign: 'center'}}>
|
|
{props.message}
|
|
</Text>
|
|
)}
|
|
</Column>
|
|
</Column>
|
|
</Centered>
|
|
</View>
|
|
);
|
|
};
|
|
|
|
export interface SquircleIconPopUpModalProps {
|
|
message: string;
|
|
testId: string;
|
|
onBackdropPress?: () => void;
|
|
}
|