zebra-striped
Version:
Generate barcodes natively in React Native with the ZXing library underhood!
13 lines • 570 B
JavaScript
import { requireNativeViewManager } from "expo-modules-core";
import * as React from "react";
import { Platform } from "react-native";
const NativeView = requireNativeViewManager("ZebraStriped");
export default function ZebraCode(props) {
const { size, ...otherProps } = props;
return (<NativeView {...otherProps} size={Platform.select({
ios: size,
android: [size.width, size.height],
default: size,
})} style={[otherProps.style, { width: size.width, height: size.height }]}/>);
}
//# sourceMappingURL=ZebraCode.js.map