khevamann / rn-responsive-styles

Responsive styles for react-native and react-native-web
MIT License
40 stars 3 forks source link

No code prompt #28

Open 1280103995 opened 5 months ago

1280103995 commented 5 months ago

When I enter style attributes in the container, I don't get any prompts. For example, if you enter 'ba', you should be prompted for 'backgroundColor'

const useStyles = CreateResponsiveStyle({
  container: {

  },
});

But if I type 'ba' in inline style I get 'backgroundColor'

<View style={{height: 1, ba}} />

I'm using VS Code v1.89.1.

khevamann commented 5 months ago

Hi @1280103995 This is most likely an issue with your editor, and not something I can solve are you using typescript? See below autocomplete is working for me

Screenshot 2024-06-11 at 9 02 24 PM
1280103995 commented 5 months ago

typescript

Yes, I am using TS. Which IDE are you using?