react-native-qrcode-styled
Version:
A fully customizable QR Code generator for React Native based on react-native-svg and javascript-qrcode.
23 lines (22 loc) • 522 B
JavaScript
;
import React from 'react';
import SVGLinearGradient from "./SVGLinearGradient.js";
import SVGRadialGradient from "./SVGRadialGradient.js";
import { jsx as _jsx } from "react/jsx-runtime";
export default function SVGGradient({
type,
options,
...props
}) {
if (type === 'radial') {
return /*#__PURE__*/_jsx(SVGRadialGradient, {
...options,
...props
});
}
return /*#__PURE__*/_jsx(SVGLinearGradient, {
...options,
...props
});
}
//# sourceMappingURL=SVGGradient.js.map