verdnatura-chat/app/lib/methods/withTest.ts

5 lines
136 B
TypeScript

export const withTest = (testID: string): { testID: string; accessibilityLabel: string } => ({
testID,
accessibilityLabel: testID
});