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

Add custom color for seeker #5

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

makeitmin
Copy link

Hi.
I've been using this package well lately.
Thank you for sharing the wonderful package.

The color of the seeker is basically red right now, but I thought it would be nice if I could customize this, so I changed some code. It works like this:

<ScreenContainer config={{seekerColor: '#22d473'}}>
    ...
</ScreenContainer>

If you specify seekerColor in config, the color of Timeline and Seeker is changed.
You can merge if you feel it's a good idea.

PS. I tested the code by modifying node_module code directly in my RN project. I also wanted to do separate build test but I couldn't because of some version errors. I think it's just my local env problem, because there are only code changes for logic, not for package dependencies. If you want to merge, I think you need a test before publish it.

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.

None yet

1 participant