react-native-alert-notification icon indicating copy to clipboard operation
react-native-alert-notification copied to clipboard

[Dialog] how to set textBody's style

Open setsuhanjyou opened this issue 3 years ago • 0 comments
trafficstars

I would like to set the textbody characters to be left justified, how can I do that?

<TouchableOpacity style={{ flex: 1, flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }} onPress={() =>Dialog.show({ type: ALERT_TYPE.WARNING, title: title, textBody: messageValue, button: '了解', closeOnOverlayTap: true, })}> <Image source={helpIcon} style={{width: 15, height: 15}}/> </TouchableOpacity>

setsuhanjyou avatar Sep 02 '22 01:09 setsuhanjyou