[英]How to change the font family of a TextInput with secureTextEntry?
[英]How to change font family on TextInput in React Native
查看此軟件包是否可以幫助您
https://github.com/Astrocoders/react-native-selectable-text
<SelectableText
menuItems={["Bold", "Copy", "Italic"]}
/*
Called when the user taps in a item of the selection menu:
- eventType: (string) is the label
- content: (string) the selected text portion
- selectionStart: (int) is the start position of the selected text
- selectionEnd: (int) is the end position of the selected text
*/
onSelection={({ eventType, content, selectionStart, selectionEnd }) => {}}
value="I crave star damage"
/>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.