react-native-print
Version:
Print documents with React Native
15 lines (11 loc) • 346 B
TypeScript
type PrintOptionsType = {
printerURL?: string;
isLandscape?: boolean;
jobName?: string;
} & ({ html: string } | { filePath: string });
type SelectPrinterOptionsType = {
x: string;
y: string;
};
export function print(options: PrintOptionsType): Promise<any>;
export function selectPrinter(options: SelectPrinterOptionsType): Promise<any>;