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

Function isMode

src/components/IconButton/utils.ts:165–167  ·  view source on GitHub ↗
(modeToCompare: IconButtonMode)

Source from the content-addressed store, hash-verified

163 customRippleColor?: ColorValue;
164}) => {
165 const isMode = (modeToCompare: IconButtonMode) => {
166 return mode === modeToCompare;
167 };
168
169 const baseIconColorProps = {
170 theme,

Callers 2

getBackgroundColorFunction · 0.70
getIconColorFunction · 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…