MCPcopy Index your code
hub / github.com/callstack/react-native-paper / isVariant

Function isVariant

src/components/FAB/utils.ts:276–278  ·  view source on GitHub ↗
(variantToCompare: Variant)

Source from the content-addressed store, hash-verified

274 customRippleColor?: ColorValue;
275}) => {
276 const isVariant = (variantToCompare: Variant) => {
277 return variant === variantToCompare;
278 };
279
280 const baseFABColorProps = { theme, isVariant, disabled };
281

Callers 2

getBackgroundColorFunction · 0.85
getForegroundColorFunction · 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…