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

Function getClassName

docs/src/components/ScreenshotTabs.tsx:15–18  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

13};
14
15const getClassName = (value: string) =>
16 value.endsWith('.gif')
17 ? 'gifScreenshot'
18 : `tabScreenshot${value.includes('full-width') ? 'full-width' : ''}`;
19
20const ScreenshotTabs: React.FC<ScreenshotTabsProps> = ({
21 screenshotData,

Callers 1

renderScreenhotFunction · 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…