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

Function getStyles

src/components/List/ListImage.tsx:48–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}: Props) => {
47 const theme = useInternalTheme(themeOverrides);
48 const getStyles = () => {
49 if (variant === 'video') {
50 if (!theme.isV3) {
51 return [style, styles.video];
52 }
53
54 return [style, styles.videoV3];
55 }
56
57 return [style, styles.image];
58 };
59
60 return (
61 <Image

Callers 1

ListImageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…