1.1.5 • Published 4 years ago

rn-test-id v1.1.5

Weekly downloads
69
License
-
Repository
github
Last release
4 years ago

react-native-test-id

Getting started

$ npm install rn-test-id --save

A convenient way to set test id for React-Native components

Usage

import React from 'react'
import { View, Text } from 'react-native'
import testID from 'rn-test-id'

function SuperComponent({ testId }) {
  return (
    <View {...testID(testId,false,false)}>
      <Text>My Super Component</Text>
    </View>
  )
}
1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago