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

Function Shimmer

docs/src/components/BannerExample.tsx:144–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142};
143
144const Shimmer = () => {
145 /* Docusaurus won't call StyleSheet.create() server-side */
146 /* eslint-disable react-native/no-inline-styles, react-native/no-color-literals */
147
148 return (
149 <View
150 style={{
151 display: 'flex',
152 minHeight: 500,
153 borderWidth: 1,
154 borderColor: 'rgba(125, 82, 96, 0.4)',
155 borderStyle: 'solid',
156 borderRadius: 16,
157 alignContent: 'center',
158 justifyContent: 'center',
159 padding: 30,
160 marginTop: 36,
161 marginBottom: 32,
162 }}
163 />
164 );
165};
166
167const ThemedBannerExample = () => {
168 const isDarkTheme = useColorMode().colorMode === 'dark';

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…