rafaelmotta / react-native-tag-select

🏷 A simple tag component to act as radio button / checkbox
156 stars 43 forks source link

How to get selected value string ? #17

Closed akiladevinda closed 5 years ago

akiladevinda commented 5 years ago

How to get selected tag value ?

<TagSelect data={nationData} value={[nationData[0]]} ref={(tag) => { this.tagString = tag; }} itemStyle={styles.item} itemLabelStyle={styles.label} itemStyleSelected={styles.itemSelected} itemLabelStyleSelected={styles.labelSelected} containerStyle={styles.nationDataContainer} max={1} onMaxError={() => {}} />