0.4.0 • Published 2 years ago

react-native-sb-ecommerce v0.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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