18 lines
494 B
TypeScript
18 lines
494 B
TypeScript
import React from 'react';
|
|
import { View } from 'react-native';
|
|
import { Row } from 'react-native-easy-grid';
|
|
|
|
import styles from './styles';
|
|
import { themes } from '../../../constants/colors';
|
|
import { CustomIcon } from '../../../lib/Icons';
|
|
|
|
const LockIcon = React.memo(({ theme }: { theme: string }) => (
|
|
<Row style={styles.row}>
|
|
<View style={styles.iconView}>
|
|
<CustomIcon name='auth' size={40} color={themes[theme].passcodeLockIcon} />
|
|
</View>
|
|
</Row>
|
|
));
|
|
|
|
export default LockIcon;
|