mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-07 20:53:54 -05:00
* [INJIMOB-3622]: add the new branding changes Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com> * [INJIMOB-3651]: update the new branding changes Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com> * [INJIMOB-3651]: update the new snapshots Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com> * [INJIMOB-3651]: update the changes mentioned deskcheck Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com> --------- Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com> Signed-off-by: jaswanthkumartw <jaswanthkumar.p@thoughtworks.com>
29 lines
631 B
TypeScript
29 lines
631 B
TypeScript
import React from 'react';
|
|
import {View} from 'react-native';
|
|
import {Text} from '../ui/Text';
|
|
import {formattedDate} from '../../shared/openId4VCI/Utils';
|
|
|
|
export const Timestamp: React.FC<TimestampProps> = props => {
|
|
return (
|
|
<View>
|
|
<Text
|
|
testID={`${props.testId}Time`}
|
|
size="regular"
|
|
style={{
|
|
fontFamily: 'Montserrat_500Medium',
|
|
fontWeight: '600',
|
|
fontSize: 14,
|
|
letterSpacing: 0,
|
|
lineHeight: 17,
|
|
}}>
|
|
{formattedDate(props.time)}
|
|
</Text>
|
|
</View>
|
|
);
|
|
};
|
|
|
|
interface TimestampProps {
|
|
time: number;
|
|
testId: string;
|
|
}
|