react-native-paper icon indicating copy to clipboard operation
react-native-paper copied to clipboard

feat:Multi-line buttons should be possible via configuration

Open adbs1 opened this issue 5 months ago • 0 comments

Motivation Multi-line buttons should be possible via configuration.

Related issue (https://github.com/callstack/react-native-paper/discussions/2584#discussioncomment-10715321)

Test plan <Button icon="content-save-edit" onLongPress={handleSubmit(submit)} onPress={() => Alert.alert('Press & hold')} numberOfLines={2} > A short label{'\n'}<Text style={{ fontSize: 8, margin: 0, lineHeight: 12 }}>(Press & hold)</Text> </Button>

image image

adbs1 avatar Sep 23 '24 12:09 adbs1