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

styled components not working #42

Open
turker0 opened this issue May 7, 2021 · 3 comments
Open

styled components not working #42

turker0 opened this issue May 7, 2021 · 3 comments

Comments

@turker0
Copy link

turker0 commented May 7, 2021

Is there any way to use with styled components
e.g.
image

@fulyakaya
Copy link

fulyakaya commented May 11, 2021

i have the same issue if I pass styles directly it works, but when I try to use it with styled-components skelatonplaceholder.item's not displaying

export const StyledSkeletonView = styled(SkeletonPlaceholder.Item)<StyledSkeletonViewProps>
  ${({ $width, $height, $margin, $borderRadius }) => 
    width: ${$width};
    height: ${$height};
    margin: ${$margin || 0};
    border-radius: ${$borderRadius || 0};
  }
;

@chramos
Copy link
Owner

chramos commented Jul 16, 2021

hey guys, unfortunately it is not supported yet, I have to work on a solution for that

@cvburgess
Copy link

Hey there! Is there anything we can do to add support for this? Is there an approach outline or the issue defined so we could help open a PR?

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

4 participants