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

Label is not show. it need z index to show above #4

Closed
MohsinAliSoomro opened this issue Jan 19, 2022 · 2 comments
Closed

Label is not show. it need z index to show above #4

MohsinAliSoomro opened this issue Jan 19, 2022 · 2 comments

Comments

@MohsinAliSoomro
Copy link

image

@junhoyeo
Copy link
Owner

Thanks for raising an issue here!
I intended to pass fewer styles to the label so people can pass styles to the custom label themselves.
But I'll check. Until that how about passing your styles to the CustomLabelComponent's container manually?

<LineProgressBar
  label={(value: number) => <CustomLabelComponent percent={value} />}
  percent={45}
  rounded={36}
  height={36}
/>

@junhoyeo
Copy link
Owner

label is just an optional function, so I cannot/will not add more styles. Please style your CustomLabelComponent yourselves!

    ...
  </Progress>
  {label?.(percent)}
</Container>

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

No branches or pull requests

2 participants