Lines Matching refs:text
20 function TextInputButton({ text }: { text: string }) {
21 const [link, setLink] = React.useState<string>(text);
26 onChangeText(text);
27 }, [text]);
29 const onChangeText = async (text: string) => {
31 const supported = await canOpenURL(text);
33 const parsedText = await Linking.parse(text);
37 setLink(text);
87 {url && <TextInputButton text={Linking.createURL('deep-link')} />}
88 <TextInputButton text="https://github.com/search?q=Expo" />
89 <TextInputButton text="https://www.expo.dev" />
90 <TextInputButton text="http://www.expo.dev" />
91 <TextInputButton text="http://expo.dev" />
92 <TextInputButton text="fb://notifications" />
93 <TextInputButton text="geo:37.484847,-122.148386" />
94 <TextInputButton text="tel:9876543210" />