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

fix: card title with 1 line only #1809

Merged
merged 3 commits into from
Apr 17, 2020
Merged

fix: card title with 1 line only #1809

merged 3 commits into from
Apr 17, 2020

Conversation

diego-toro
Copy link
Contributor

@diego-toro diego-toro commented Apr 10, 2020

Motivation

Card titles should be always 1 line. Per #1576 discussion.

card

@callstack-bot
Copy link

callstack-bot commented Apr 10, 2020

Hey @IngenieroLata, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

@Trancever
Copy link
Contributor

It shouldn't be configurable. We should always pass 1 to Title. #1576 introduced the bug.

@diego-toro
Copy link
Contributor Author

diego-toro commented Apr 10, 2020

Ok, I'll default it to 1 then.

EDIT: @jaulz Or do you mean leave it a hardcoded 1, with no optional multiline prop?

@jaulz
Copy link
Collaborator

jaulz commented Apr 10, 2020

@IngenieroLata I agree to @Trancever and it should not be configurable.

@diego-toro
Copy link
Contributor Author

Right! roger that

@diego-toro
Copy link
Contributor Author

@jaulz Done! and just updated Motivation for future revisions

@diego-toro diego-toro changed the title feat: add optional titleNumberOfLines prop to card title fix: card title with 1 line only Apr 10, 2020
@Trancever
Copy link
Contributor

Thanks!

@Trancever Trancever merged commit b86428d into callstack:master Apr 17, 2020
Trancever pushed a commit that referenced this pull request Apr 17, 2020
marchenk0va pushed a commit to marchenk0va/react-native-paper that referenced this pull request Jun 2, 2020
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.

4 participants