UNPKG

react-native-awesome-medialib

Version:
52 lines (51 loc) 1.2 kB
import type { Navigator } from 'react-native-awesome-navigation'; export interface BaseProps { screenID: string; navigator: Navigator; } export declare const showToast: (title: string, position?: number) => void; export interface AlbumModel { index: number; cover: string; count: number; name: string; } export declare const processAlbumModel: (source: []) => AlbumModel[]; export declare const albumItemStyle: { container: { flex: number; height: number; backgroundColor: string; flexDirection: "row"; alignItems: "center"; }; cover: { marginLeft: number; width: number; height: number; }; textContainer: { flexDirection: "column"; marginLeft: number; }; name: { fontSize: number; fontWeight: "600"; color: string; }; count: { fontSize: number; fontWeight: "400"; color: string; marginTop: number; }; }; export declare const albumListStyle: { list: { position: "absolute"; top: number; bottom: number; width: string; backgroundColor: string; }; };