mirror of
https://github.com/lux-tel/session-desktop.git
synced 2026-10-30 20:33:24 +00:00
24 lines
697 B
TypeScript
24 lines
697 B
TypeScript
import { LUCIDE_ICONS_UNICODE } from '../../icon/lucide';
|
|
import { SessionLucideIconButton } from '../../icon/SessionIconButton';
|
|
|
|
export function AvatarExitQrCodeButton({ onExitQrCodeView }: { onExitQrCodeView: () => void }) {
|
|
return (
|
|
<SessionLucideIconButton
|
|
unicode={LUCIDE_ICONS_UNICODE.USER_ROUND}
|
|
iconSize={'large'}
|
|
backgroundColor="var(--primary-color)"
|
|
iconColor="var(--black-color)"
|
|
padding="var(--margins-xs)"
|
|
onClick={onExitQrCodeView}
|
|
style={{
|
|
position: 'absolute',
|
|
top: '-15px',
|
|
insetInlineEnd: '-15px',
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
borderRadius: '50%',
|
|
}}
|
|
/>
|
|
);
|
|
}
|