Changed tag count 5 to 7

This commit is contained in:
Mustafa Buyukcelebi 2019-08-13 22:11:27 +03:00
parent da3617eb9a
commit c8f9884dc9

View File

@ -19,7 +19,7 @@ export default class TagAreaView extends Component {
this.state = {
currentText: '',
chips: props.draftChips || [' '],
chipsCount: props.chipsCount || 5,
chipsCount: props.chipsCount || 7,
activeChip: 0,
};
}
@ -102,7 +102,7 @@ export default class TagAreaView extends Component {
<ScrollView horizontal style={styles.tagWrapper}>
{chips.map(
(chip, i) =>
i < 5 && (
i < 7 && (
<Chip
key={i}
refs={input => {