Skip to content

Feat/ support passing colors to skeletonView #1905

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 5 commits into from
Mar 17, 2022

Conversation

lidord-wix
Copy link
Contributor

Description

Support passing colors to SkeletonView - #1762

Changelog

Support passing colors to SkeletonView

/**
* The colors of the skeleton view
*/
colors?: string[]
Copy link
Collaborator

Choose a reason for hiding this comment

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

This seems to work with empty (black) or even four colors, did not even see a recommendation.
I'd add the default here and to the API.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Correction, tested on Android and it has to be >=2

@lidord-wix lidord-wix requested a review from M-i-k-e-l March 17, 2022 09:13
@M-i-k-e-l M-i-k-e-l merged commit 463b7b3 into master Mar 17, 2022
@lidord-wix lidord-wix deleted the feat/support_colors_in_skeletonView branch March 21, 2022 09:05
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