react-native-skeleton-placeholder
react-native-skeleton-placeholder copied to clipboard
styled components not working
Is there any way to use with styled components
e.g.
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};
}
;
hey guys, unfortunately it is not supported yet, I have to work on a solution for that
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?