UNPKG

repoweaver

Version:

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

1 lines 2.22 kB
{"ast":null,"code":"\"use strict\";\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nconst _excluded = [\"style\"];\nimport { useTheme } from '@react-navigation/native';\nimport * as React from 'react';\nimport Animated from \"react-native-web/dist/exports/Animated\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function Background(_ref) {\n let {\n style\n } = _ref,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded);\n const {\n colors\n } = useTheme();\n return _jsx(Animated.View, Object.assign({}, rest, {\n style: [{\n flex: 1,\n backgroundColor: colors.background\n }, style]\n }));\n}","map":{"version":3,"names":["useTheme","React","Animated","jsx","_jsx","Background","_ref","style","rest","_objectWithoutPropertiesLoose","_excluded","colors","View","Object","assign","flex","backgroundColor","background"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/@react-navigation/elements/src/Background.tsx"],"sourcesContent":["import { useTheme } from '@react-navigation/native';\nimport * as React from 'react';\nimport {\n Animated,\n type StyleProp,\n type ViewProps,\n type ViewStyle,\n} from 'react-native';\n\ntype Props = Omit<ViewProps, 'style'> & {\n style?: Animated.WithAnimatedValue<StyleProp<ViewStyle>>;\n children: React.ReactNode;\n};\n\nexport function Background({ style, ...rest }: Props) {\n const { colors } = useTheme();\n\n return (\n <Animated.View\n {...rest}\n style={[{ flex: 1, backgroundColor: colors.background }, style]}\n />\n );\n}\n"],"mappings":";;;;AAAA,SAASA,QAAQ,QAAQ,0BAA0B;AACnD,OAAO,KAAKC,KAAK,MAAM,OAAO;AAAA,OAAAC,QAAA;AAMR,SAAAC,GAAA,IAAAC,IAAA;AAOtB,OAAO,SAASC,UAAUA,CAAAC,IAAA,EAA4B;EAAA,IAA3B;MAAEC;IAAsB,CAAC,GAAAD,IAAA;IAAbE,IAAA,GAAAC,6BAAA,CAAAH,IAAA,EAAAI,SAAA;EACrC,MAAM;IAAEC;EAAO,CAAC,GAAGX,QAAQ,CAAC,CAAC;EAE7B,OACEI,IAAA,CAACF,QAAQ,CAACU,IAAI,EAAAC,MAAA,CAAAC,MAAA,KACRN,IAAI;IACRD,KAAK,EAAE,CAAC;MAAEQ,IAAI,EAAE,CAAC;MAAEC,eAAe,EAAEL,MAAM,CAACM;IAAW,CAAC,EAAEV,KAAK;EAAA,EAC/D,CAAC;AAEN","ignoreList":[]},"metadata":{"hasCjsExports":false},"sourceType":"module","externalDependencies":[]}