Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:Multi line support button #2

Merged
merged 2 commits into from
Sep 23, 2024
Merged

feat:Multi line support button #2

merged 2 commits into from
Sep 23, 2024

Conversation

adbs1
Copy link
Owner

@adbs1 adbs1 commented Sep 23, 2024

Motivation

Multi-line buttons should be possible via configuration.

Related issue

(callstack#2584 (comment))

Test plan

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

image image

@adbs1 adbs1 changed the title Multi line support button feat:Multi line support button Sep 23, 2024
@adbs1 adbs1 merged commit 945636d into main Sep 23, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant