UNPKG

expo-esc-pos-utils

Version:

Expo module for ESC/POS printer utilities, supporting image printing and text formatting

20 lines (15 loc) 422 B
import type { StyleProp, ViewStyle } from 'react-native'; export type OnLoadEventPayload = { url: string; }; export type ExpoEscPosUtilsModuleEvents = { onChange: (params: ChangeEventPayload) => void; }; export type ChangeEventPayload = { value: string; }; export type ExpoEscPosUtilsViewProps = { url: string; onLoad: (event: { nativeEvent: OnLoadEventPayload }) => void; style?: StyleProp<ViewStyle>; };