Files
inji-wallet/components/ui/Timestamp.tsx
jaswanthkumartw edefef6c5d Injimob-3651: update the new branding changes (#2154)
* [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>
2025-12-01 15:03:41 +05:30

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;
}