UNPKG

repoweaver

Version:

A GitHub App that skillfully weaves multiple templates together to create and update repositories with intelligent merge strategies

1 lines 3.2 kB
{"ast":null,"code":"\"use strict\";\n\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nvar _excluded = [\"tintColor\", \"style\"];\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport { Text } from \"../Text.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function Label(_ref) {\n var tintColor = _ref.tintColor,\n style = _ref.style,\n rest = _objectWithoutProperties(_ref, _excluded);\n return _jsx(Text, _objectSpread(_objectSpread({\n numberOfLines: 1\n }, rest), {}, {\n style: [styles.label, tintColor != null && {\n color: tintColor\n }, style]\n }));\n}\nvar styles = StyleSheet.create({\n label: {\n textAlign: 'center',\n backgroundColor: 'transparent'\n }\n});","map":{"version":3,"names":["Text","jsx","_jsx","Label","_ref","tintColor","style","rest","_objectWithoutProperties","_excluded","_objectSpread","numberOfLines","styles","label","color","StyleSheet","create","textAlign","backgroundColor"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/@react-navigation/elements/src/Label/Label.tsx"],"sourcesContent":["import {\n type StyleProp,\n StyleSheet,\n type TextProps,\n type TextStyle,\n} from 'react-native';\n\nimport { Text } from '../Text';\n\ntype Props = Omit<TextProps, 'style'> & {\n tintColor?: string;\n children?: string;\n style?: StyleProp<TextStyle>;\n};\n\nexport function Label({ tintColor, style, ...rest }: Props) {\n return (\n <Text\n numberOfLines={1}\n {...rest}\n style={[styles.label, tintColor != null && { color: tintColor }, style]}\n />\n );\n}\n\nconst styles = StyleSheet.create({\n label: {\n textAlign: 'center',\n backgroundColor: 'transparent',\n },\n});\n"],"mappings":";;;;;;;;AAOA,SAASA,IAAI;AAAkB,SAAAC,GAAA,IAAAC,IAAA;AAQ/B,OAAO,SAASC,KAAKA,CAAAC,IAAA,EAAuC;EAAA,IAApCC,SAAS,GAAAD,IAAA,CAATC,SAAS;IAAEC,KAAK,GAAAF,IAAA,CAALE,KAAK;IAAKC,IAAA,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA;EAC3C,OACEP,IAAA,CAACF,IAAI,EAAAU,aAAA,CAAAA,aAAA;IACHC,aAAa,EAAE;EAAE,GACbJ,IAAI;IACRD,KAAK,EAAE,CAACM,MAAM,CAACC,KAAK,EAAER,SAAS,IAAI,IAAI,IAAI;MAAES,KAAK,EAAET;IAAU,CAAC,EAAEC,KAAK;EAAA,EACvE,CAAC;AAEN;AAEA,IAAMM,MAAM,GAAGG,UAAU,CAACC,MAAM,CAAC;EAC/BH,KAAK,EAAE;IACLI,SAAS,EAAE,QAAQ;IACnBC,eAAe,EAAE;EACnB;AACF,CAAC,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}