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

Upgrades React version #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

takshch
Copy link

@takshch takshch commented Feb 23, 2024

No description provided.

Comment on lines -62 to -68
Card.defaultProps = {
renderImage: true,
imagePosition: "left",
data: null,
classNamePrefix: null,
cardOption: null,
};
Copy link
Author

Choose a reason for hiding this comment

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

defaultProps is deprecated by React.

facebook/react#16210

Comment on lines +5 to +9
imagePosition = 'left',
classNamePrefix = null,
cardOption = null,
renderImage = true,
data = null,
Copy link
Author

Choose a reason for hiding this comment

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

defaultProps is deprecated by React.

facebook/react#16210

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