Skip to content

Update Incubator.TextField Code Example link url to correct path #1190

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

Conversation

fvonhoven
Copy link

Description

The "Code Example" link at https://wix.github.io/react-native-ui-lib/docs/Incubator.TextField/ went to an outdated folder in the repo. Updated link to use the correct path to the component in the repo.

Changelog

Update docs for Incubator.TextFIeld link to example code so it opens the correct url and doesn't 404.

@ethanshar
Copy link
Collaborator

@fvonhoven amazing, thanks!

@@ -200,7 +200,7 @@ const TextField = (props: InternalTextFieldProps) => {
retainSpace
/>
)}
{showCharCounter && <CharCounter maxLength={others.maxLength} charCounterStyle={charCounterStyle}/>}
{showCharCounter && <CharCounter maxLength={others.maxLength} charCounterStyle={charCounterStyle} />}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove space, it cause a lint error

Suggested change
{showCharCounter && <CharCounter maxLength={others.maxLength} charCounterStyle={charCounterStyle} />}
{showCharCounter && <CharCounter maxLength={others.maxLength} charCounterStyle={charCounterStyle}/>}

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Womp womp 😞

Fixed! ✅

@ethanshar ethanshar merged commit b327cd8 into wix:master Feb 19, 2021
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.

2 participants