Ellipsis(... at the end) is not working in Native app

0
Hello, I am trying to put ellipsis in text but it is not working. export const singleLineTextEllipsis = {     text: {         numberOfLines: 1,     }, }; I used the above class in text but it is not working. Can someone help me on this.
asked
1 answers
0

Remove some comma's to get the syntax right. Then it should work when you put the class on a text widget.

export const singleLineTextEllipsis = {

    text: {

        numberOfLines: 1

    }

};

answered