0.1.4 • Published 5 months ago

pmn-rn-component v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

pmn-rn-component

RN Component

Installation

yarn add pmn-rn-component react-native-fast-image 

Usage

import * as React from 'react';
import {
  Box,
  Text,
  fontSizeLine,
  getOffset,
  heightLize,
  widthLize,
} from 'pmn-rn-component';

// ...

export default function App() {
  console.log(getOffset());
  return (
    <Box flex={1} middle center>
      <Box height={heightLize(50)} width={widthLize(50)} />
      <Text size={fontSizeLine(20)} color="#000">
        Hello
      </Text>
    </Box>
  );
}
0.1.4

5 months ago

0.1.3

10 months ago

0.1.2

10 months ago

0.1.1

10 months ago

0.1.0

11 months ago