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

Function getFABGroupColors

src/components/FAB/utils.ts:336–348  ·  view source on GitHub ↗
({
  theme,
  customBackdropColor,
}: {
  theme: InternalTheme;
  customBackdropColor?: string;
})

Source from the content-addressed store, hash-verified

334};
335
336export const getFABGroupColors = ({
337 theme,
338 customBackdropColor,
339}: {
340 theme: InternalTheme;
341 customBackdropColor?: string;
342}) => {
343 return {
344 labelColor: getLabelColor({ theme }),
345 backdropColor: getBackdropColor({ theme, customBackdropColor }),
346 stackedFABBackgroundColor: getStackedFABBackgroundColor({ theme }),
347 };
348};
349
350const standardSize = {
351 height: 56,

Callers 2

FABGroup.test.tsxFile · 0.90
FABGroupFunction · 0.90

Calls 3

getBackdropColorFunction · 0.85
getLabelColorFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…