repoweaver
Version:
A GitHub App that skillfully weaves multiple templates together to create and update repositories with intelligent merge strategies
1 lines • 2.92 kB
JSON
{"ast":null,"code":"function _extends() {\n return _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, _extends.apply(null, arguments);\n}\nimport * as React from 'react';\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport StyledText from \"./StyledText\";\nconst Subheading = props => React.createElement(StyledText, _extends({}, props, {\n alpha: 0.87,\n family: \"regular\",\n style: [styles.text, props.style]\n}));\nexport default Subheading;\nconst styles = StyleSheet.create({\n text: {\n fontSize: 16,\n lineHeight: 24,\n marginVertical: 2,\n letterSpacing: 0.5\n }\n});","map":{"version":3,"names":["React","StyleSheet","StyledText","Subheading","props","createElement","_extends","alpha","family","style","styles","text","create","fontSize","lineHeight","marginVertical","letterSpacing"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/react-native-paper/src/components/Typography/v2/Subheading.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Text, TextStyle, StyleSheet, StyleProp } from 'react-native';\n\nimport StyledText from './StyledText';\n\nexport type Props = React.ComponentProps<typeof Text> & {\n style?: StyleProp<TextStyle>;\n children: React.ReactNode;\n};\n\n// @component-group Typography\n\n/**\n * @deprecated Deprecated in v5.x - use `<Text variant=\"titleMedium\" />` instead.\n * Typography component for showing a subheading.\n *\n * <div class=\"screenshots\">\n * <img src=\"screenshots/subheading.png\" />\n * </div>\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { Subheading } from 'react-native-paper';\n *\n * const MyComponent = () => (\n * <Subheading>Subheading</Subheading>\n * );\n *\n * export default MyComponent;\n * ```\n */\nconst Subheading = (props: Props) => (\n <StyledText\n {...props}\n alpha={0.87}\n family=\"regular\"\n style={[styles.text, props.style]}\n />\n);\n\nexport default Subheading;\n\nconst styles = StyleSheet.create({\n text: {\n fontSize: 16,\n lineHeight: 24,\n marginVertical: 2,\n letterSpacing: 0.5,\n },\n});\n"],"mappings":";;;;;;;;;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAAA,OAAAC,UAAA;AAG9B,OAAOC,UAAU;AA6BjB,MAAMC,UAAU,GAAIC,KAAY,IAC9BJ,KAAA,CAAAK,aAAA,CAACH,UAAU,EAAAI,QAAA,KACLF,KAAK;EACTG,KAAK,EAAE,IAAK;EACZC,MAAM,EAAC,SAAS;EAChBC,KAAK,EAAE,CAACC,MAAM,CAACC,IAAI,EAAEP,KAAK,CAACK,KAAK;AAAE,EACnC,CACF;AAED,eAAeN,UAAU;AAEzB,MAAMO,MAAM,GAAGT,UAAU,CAACW,MAAM,CAAC;EAC/BD,IAAI,EAAE;IACJE,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,EAAE;IACdC,cAAc,EAAE,CAAC;IACjBC,aAAa,EAAE;EACjB;AACF,CAAC,CAAC","ignoreList":[]},"metadata":{"hasCjsExports":false},"sourceType":"module","externalDependencies":[]}