-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feat: The label prop for TextInput can now take a component (ReactElement) as well as string
#2991
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
Merged
lukewalczak
merged 17 commits into
callstack:main
from
smbadiwe:support-text-label-customization
Dec 10, 2021
Merged
Changes from 12 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
0b2d340
feat: label prop for TextInput can now take a component (ReactElement…
smbadiwe 0676509
Minor edits for more clarity
smbadiwe dd8b050
fix: fixes some lint issues
smbadiwe 861a62f
fix: more linting issues
smbadiwe 6895593
fix: removed obsolete snapshot from tests
smbadiwe 04fba59
test: added unit tests for label equality implementation
smbadiwe da2efa6
docs: added usage example for TextInput label receiving a component
smbadiwe 895feb3
test: added unit tests for checking equality of nested components
smbadiwe 82edc2d
fix: just to make typecript happy
smbadiwe bfc4bba
fix: just to make prettier happy
smbadiwe 6bf289b
fix: just to make prettier happy
smbadiwe 4eaadc7
fix: just to make prettier happy (v3)
smbadiwe 96b9134
refactor: moved `areLabelsEqual` function into `helpers` file
smbadiwe 19f3ed7
fix: import issues in unit test
smbadiwe c79d918
Merge branch 'main' into support-text-label-customization
lukewalczak 63e2b09
Update TextInput.test.js
lukewalczak 09dd5e3
Update TextInput.test.js
lukewalczak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.