khevamann / rn-responsive-styles

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

No code prompt #28

Open 1280103995 opened 1 month ago

1280103995 commented 1 month 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 2 weeks 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 2 weeks ago

typescript

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