Skip to content

Commit 242968d

Browse files
authored
Fix accessibility props extractor regex test (#770)
1 parent 5b13328 commit 242968d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commons/modifiers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export type ContainerModifiers =
9393
PaddingModifiers &
9494
MarginModifiers &
9595
FlexModifiers &
96-
BorderRadiusModifiers &
96+
BorderRadiusModifiers &
9797
BackgroundColorModifier;
9898

9999

@@ -256,7 +256,7 @@ export function extractFlexStyle(props: Dictionary<any>): Partial<Record<NativeF
256256
//@ts-ignore
257257
export function extractAccessibilityProps(props: any = this.props) {
258258
return _.pickBy(props, (_value, key) => {
259-
return /.*access.*/.test(key);
259+
return /.*ccessib.*/.test(key);
260260
});
261261
}
262262

0 commit comments

Comments
 (0)