React Native Bullet Character? or Unicode?
Asked Answered
Q

2

26

I want to use Bullet Character/ Small Circles used for passwords in React Native Text component. Is there a way to create them without using package.

enter image description here

I am thinking of creating a rounded View with background filled. However, kindly let know if a simpler solution exists.

Quincunx answered 1/4, 2019 at 4:50 Comment(0)
R
73

There is a much simpler way,

Try using Unicode.

2B24, 25CF, 26AB, etc... these are Unicode for black filled dots.

USAGE: <Text>{'\u2B24'}</Text>.

You can search more Unicode here, http://www.unicode.org/

Regeneration answered 1/4, 2019 at 5:9 Comment(0)
T
3

If you're wanting to create a TextInput that obscures the entries (e.g. for a password input), TextInput has a secureTextEntry prop.

Taam answered 17/9, 2020 at 15:7 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.