@uiw/react-native
Version:
UIW for React Native
26 lines (25 loc) • 835 B
TypeScript
import { FC, PropsWithChildren, ReactNode } from 'react';
export type ImageHeaderProps = PropsWithChildren<{
/** 头部右侧内容 */
headerRight?: ReactNode;
/** 头部左侧内容 */
headerLeft?: ReactNode;
/** 左侧返回键和字体颜色 */
headerLeftColor?: string;
/** 头部底色,默认为透明 */
headerBackgroundColor?: string;
/** 设置全局背景色 */
safeBgColor?: string;
/** 头部高度 */
headerHeight?: number;
/** 左侧点击事件 */
onPress?: () => void;
/** 是否显示左侧图标 */
showLeft?: boolean;
/** 头部title */
headerTitle?: ReactNode;
/** 设置状态栏颜色 */
statusBarStyle?: 'default' | 'dark-content' | 'light-content';
}>;
declare const ImageHeader: FC<ImageHeaderProps>;
export default ImageHeader;