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

Function marginPredicate

src/utils/__tests__/splitStyles.test.ts:18–18  ·  view source on GitHub ↗
(style: string)

Source from the content-addressed store, hash-verified

16
17 it('splits margins, paddings, and border radiuses correctly', () => {
18 const marginPredicate = (style: string) => style.startsWith('margin');
19 const paddingPredicate = (style: string) => style.startsWith('padding');
20 const borderRadiusPredicate = (style: string) =>
21 style.startsWith('border') && style.endsWith('Radius');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…