-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hello guys! First of all, awesome lib @diego3g. I think it will be very helpful for us all!
One thing that can be a great addon is a ResponsiveStyleSheet (or ResponsiveSheet, if you prefer) that acts like the default rn's Stylesheet plus a parser to rem flags. It's something like the ScaledSheet from react-native-size-matters. It could be nice for the ones that often use the default Stylesheet instead of styled-components. So, for example, we can have something like:
import { ResponsiveStyleSheet } from 'react-native-size-matters';
const styles = ResponsiveStyleSheet.create({
container: {
width: '100rem',
height: '200rem',
padding: '2rem',
margin: 5
},
row: {
padding: '10rem',
width: '50rem',
height: '30rem'
}
});What do you think about it?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request