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

Function AssetIcon

example/src/Examples/IconExample.tsx:8–15  ·  view source on GitHub ↗
({ size, testID }: { size: number; testID: string })

Source from the content-addressed store, hash-verified

6import ScreenWrapper from '../ScreenWrapper';
7
8const AssetIcon = ({ size, testID }: { size: number; testID: string }) => (
9 <Image
10 accessibilityIgnoresInvertColors
11 source={require('../../assets/images/paper-icon.png')}
12 style={{ width: size, height: size }}
13 testID={testID}
14 />
15);
16
17const IconExample = () => {
18 return (

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…