Socket
Book a DemoInstallSign in
Socket

@chiper-inc/react-native-sb-chiper

Package Overview
Dependencies
Maintainers
9
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chiper-inc/react-native-sb-chiper

React Native component library using Shopify's Restyle

1.1.5
beta
latest
Source
npmnpm
Version published
Maintainers
9
Created
Source

Storybook React Native

React Native component library react-native-sb-chiper using Shopify's Restyle, based on Chiper's design system.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

Installation

npm install react-native-sb-chiper
yarn add react-native-sb-chiper

Storybook

yarn storybook

Usage

Wrapper your code into ThemeProvider

// `App.tsx`
import * as React from 'react';
import { Box, ThemeProvider, Text, fonts } from 'react-native-sb-chiper';

export default function App() {
  return (
    <ThemeProvider>
      <Box flex={1} justifyContent="center" alignItems="center">
        <Text
          variant="H1"
          fontFamily={fonts.caustenRoundBold}
          color="chiperBrandRed"
        >
          examples
        </Text>
      </Box>
    </ThemeProvider>
  );
}

If you are using react-native-reanimated add 1 line on babel.config.js

module.exports = function (api) {
  return {
    plugins: [
      'react-native-reanimated/plugin', // added
  };
};

Keywords

storybook

FAQs

Package last updated on 10 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.