Skip to content

Typescript - RadioButton and RadioGroup #766

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
merged 7 commits into from
May 18, 2020

Conversation

M-i-k-e-l
Copy link
Collaborator

@M-i-k-e-l M-i-k-e-l commented May 5, 2020

I'm adding some comments in the PR where there's stuff that I'm unsure how to solve and if it should be changed.

Hopefully fixes #759

@@ -0,0 +1,65 @@
import _ from 'lodash';
Copy link
Collaborator

Choose a reason for hiding this comment

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

For next migration, make sure to not delete and create new file but to make sure git just rename the files
(similar to how u did for RadioButton file)
It's important for git log history of the files

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I reverted and renamed, but I think it just looks different in GitHub, I see the history locally, can you verify you do to?

import TouchableOpacity from '../touchableOpacity';
import View from '../view';
import Text from '../text';
import Image from '../image';
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think u can import as usual but just add //@ts-ignore

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

import Image from '../Image'; gives an error

@M-i-k-e-l M-i-k-e-l requested a review from ethanshar May 17, 2020 08:37
@ethanshar ethanshar merged commit b25761a into master May 18, 2020
@M-i-k-e-l M-i-k-e-l deleted the feat/typescript-radio-group-and-button branch September 21, 2020 10:02
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.

TypeScript - RadioButton value prop typing error
2 participants