MCPcopy
hub / github.com/callstack/react-native-paper / isMode

Function isMode

src/components/Card/utils.tsx:105–107  ·  view source on GitHub ↗
(modeToCompare: CardMode)

Source from the content-addressed store, hash-verified

103 mode: CardMode;
104}) => {
105 const isMode = (modeToCompare: CardMode) => {
106 return mode === modeToCompare;
107 };
108
109 return {
110 backgroundColor: getBackgroundColor({

Callers 3

runElevationAnimationFunction · 0.70
CardFunction · 0.70
getBackgroundColorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…