glamorous-native icon indicating copy to clipboard operation
glamorous-native copied to clipboard

Question: How to correctly type (TS) glamorous(CustomComponent)?

Open duro opened this issue 7 years ago • 0 comments

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
})

style_ts_ _freebirdnative

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.

duro avatar May 18 '18 18:05 duro