glamorous-native
glamorous-native copied to clipboard
Question: How to correctly type (TS) glamorous(CustomComponent)?
I seem to be getting a compiler warning when I try and do the following:
export const BGImage = G(ImageFadeIn)({
width: '100%',
height: '100%',
position: 'absolute',
borderRadius: OUTTER_BORDER_RADIUS
})

I think the issue is that glamorous wants to know what the props are of ImageFadeIn, but I can't seem to get the right typing config pass in the interface the component uses for props.