@oxyhq/services
Version:
Reusable OxyHQ module to handle authentication, user management, karma system, device-based session management and more 🚀
33 lines • 940 B
TypeScript
import type React from 'react';
export interface HeaderProps {
title: string;
subtitle?: string;
onBack?: () => void;
onClose?: () => void;
rightAction?: {
icon?: string;
onPress: () => void;
loading?: boolean;
disabled?: boolean;
text?: string;
key?: string;
};
rightActions?: Array<{
icon?: string;
onPress: () => void;
loading?: boolean;
disabled?: boolean;
text?: string;
key?: string;
}>;
theme: 'light' | 'dark';
showBackButton?: boolean;
showCloseButton?: boolean;
variant?: 'default' | 'large' | 'minimal' | 'gradient';
elevation?: 'none' | 'subtle' | 'prominent';
subtitleVariant?: 'default' | 'small' | 'large' | 'muted';
titleAlignment?: 'left' | 'center' | 'right';
}
declare const Header: React.FC<HeaderProps>;
export default Header;
//# sourceMappingURL=Header.d.ts.map