MCPcopy Create free account
hub / github.com/callstack/react-native-paper / News

Function News

example/src/Examples/TeamDetails.tsx:64–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62const Roster = () => <View />;
63
64const News = () => {
65 return (
66 <>
67 <ScreenWrapper>
68 <ScrollView
69 showsHorizontalScrollIndicator={false}
70 horizontal
71 style={styles.chipsContainer}
72 contentContainerStyle={styles.chipsContent}
73 >
74 <Chip
75 selected
76 onPress={() => {}}
77 style={styles.chip}
78 showSelectedOverlay
79 >
80 Latest
81 </Chip>
82 <Chip onPress={() => {}} style={styles.chip}>
83 Popular
84 </Chip>
85 <Chip onPress={() => {}} style={styles.chip}>
86 Interviews
87 </Chip>
88 <Chip onPress={() => {}} style={styles.chip}>
89 Transfers
90 </Chip>
91 <Chip onPress={() => {}} style={styles.chip}>
92 League
93 </Chip>
94 </ScrollView>
95 <View style={styles.cardContainer}>
96 <Card style={styles.card} mode="contained">
97 <Card.Cover source={require('../../assets/images/players.jpg')} />
98 <Card.Title
99 title="Winter transfer window"
100 titleVariant="headlineMedium"
101 />
102 <Card.Content>
103 <Text variant="bodyMedium">
104 Which soccer players are switching teams? From the Premier
105 League, La Liga and beyond, here is a list of players on the
106 move this summer.
107 </Text>
108 </Card.Content>
109 <Card.Actions>
110 <Button onPress={() => {}}>Share</Button>
111 <Button onPress={() => {}}>Read more</Button>
112 </Card.Actions>
113 </Card>
114 <Card style={styles.card} mode="contained">
115 <Card.Cover source={require('../../assets/images/players-2.jpg')} />
116 <Card.Title
117 title="John Doe's injury"
118 titleVariant="headlineMedium"
119 />
120 <Card.Content>
121 <Text variant="bodyMedium">

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…