react-native-sb-ecommerce
v0.4.0
Published
React Native component library using Shopify's Restyle
Downloads
1
Readme
react-native-sb-ecommerce
React Native component library using Shopify's Restyle
Installation
npm install react-native-sb-ecommerce
Usage
import * as React from 'react';
import { Box, ThemeProvider, Text, useTheme } from 'react-native-sb-ecommerce';
export default function App() {
const { fonts } = useTheme();
return (
<ThemeProvider>
<Box flex={1} justifyContent={'center'} alignItems={'center'}>
<Text
variant={'H1'}
fontFamily={fonts.caustenRoundBold}
color="chiperBrandRed"
>
example
</Text>
</Box>
</ThemeProvider>
);
}
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT