kristerkari / react-native-sass-transformer

Use Sass to style your React Native apps.
MIT License
219 stars 19 forks source link

.sass not working #27

Closed CrackyStudio closed 4 years ago

CrackyStudio commented 4 years ago

I can use perfectly .scss but .sass for indented syntax seems not working. Is it only me? Could you provide an example on how to use .sass please?

Thanks in advance,

PS: I use RN 0.60.5 and my globals.d.ts is

declare module '*.sass' {
    const content: {[className: string]: any};
    export = content;
}
kristerkari commented 4 years ago

Last time that I tested it was working fine, but I can test again.

CrackyStudio commented 4 years ago

Thanks! If it works, provide an example please :)

kristerkari commented 4 years ago

@CrackyStudio here's an example of how to use .sass from my demo project: https://github.com/kristerkari/react-native-css-modules-example/pull/5/files

CrackyStudio commented 4 years ago

@kristerkari thanks! I'll try as soon as possible

kristerkari commented 4 years ago

Closing this as the issue seems solved.