@sfenton/react-native-readium-with-cfi
Version:
A react-native wrapper for https://readium.org/ with CFI support
16 lines (15 loc) • 458 B
TypeScript
import type { ViewStyle } from 'react-native';
import type { Link } from './Link';
import type { Locator } from './Locator';
import type { File } from './File';
export type BaseReadiumViewProps = {
file: File;
location?: Locator | Link;
preferences?: string;
style?: ViewStyle;
onLocationChange?: (locator: Locator) => void;
onTableOfContents?: (toc: Link[] | null) => void;
ref?: any;
height?: number;
width?: number;
};