1.0.1 • Published 5 years ago
styled-sheet v1.0.1
StyledSheet
React Native's StyleSheet API that lets you use props just like styled-components does.
import StyledSheet from 'styled-sheet';
const View = StyledSheet.View({
backgroundColor: props => props.backgroundColor
});
<View backgroundColor="blue">
<Text>Hey</Text>
</View>