UNPKG

stream-chat-react-native-core

Version:

The official React Native and Expo components for Stream Chat, a service for building chat applications

41 lines 1.99 kB
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.RootSvg = exports.RootPath = void 0; var _react = _interopRequireDefault(require("react")); var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg")); var _jsxRuntime = require("react/jsx-runtime"); var _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/icons/utils/base.tsx"; function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); } var RootSvg = props => { var children = props.children, height = props.height, size = props.size, _props$viewBox = props.viewBox, viewBox = _props$viewBox === void 0 ? '0 0 24 24' : _props$viewBox, width = props.width; return (0, _jsxRuntime.jsx)(_reactNativeSvg.default, { height: height ?? size ?? 24, viewBox, width: width ?? size ?? 24, ...props, children: children }); }; exports.RootSvg = RootSvg; var RootPath = props => { var d = props.d, _props$pathFill = props.pathFill, pathFill = _props$pathFill === void 0 ? 'black' : _props$pathFill, pathOpacity = props.pathOpacity; return (0, _jsxRuntime.jsx)(_reactNativeSvg.Path, { clipRule: 'evenodd', d, fill: pathFill, fillRule: 'evenodd', opacity: pathOpacity }); }; exports.RootPath = RootPath; //# sourceMappingURL=base.js.map