UNPKG

repoweaver

Version:

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

1 lines 2.43 kB
{"ast":null,"code":"\"use strict\";\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nconst _excluded = [\"tintColor\", \"style\"];\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 let {\n tintColor,\n style\n } = _ref,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded);\n return _jsx(Text, Object.assign({\n numberOfLines: 1\n }, rest, {\n style: [styles.label, tintColor != null && {\n color: tintColor\n }, style]\n }));\n}\nconst 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","_objectWithoutPropertiesLoose","_excluded","Object","assign","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,IAAtC;MAAEC,SAAS;MAAEC;IAAsB,CAAC,GAAAF,IAAA;IAAbG,IAAA,GAAAC,6BAAA,CAAAJ,IAAA,EAAAK,SAAA;EAC3C,OACEP,IAAA,CAACF,IAAI,EAAAU,MAAA,CAAAC,MAAA;IACHC,aAAa,EAAE;EAAE,GACbL,IAAI;IACRD,KAAK,EAAE,CAACO,MAAM,CAACC,KAAK,EAAET,SAAS,IAAI,IAAI,IAAI;MAAEU,KAAK,EAAEV;IAAU,CAAC,EAAEC,KAAK;EAAA,EACvE,CAAC;AAEN;AAEA,MAAMO,MAAM,GAAGG,UAAU,CAACC,MAAM,CAAC;EAC/BH,KAAK,EAAE;IACLI,SAAS,EAAE,QAAQ;IACnBC,eAAe,EAAE;EACnB;AACF,CAAC,CAAC","ignoreList":[]},"metadata":{"hasCjsExports":false},"sourceType":"module","externalDependencies":[]}