@houseme-networks/rental-primitives

1.0.2 • Public • Published

🏠 Rental - 🏗 Primitives

npm

These are layout primitives used for quickly creating other components. They are based on the Reflexbox package used by Rebass. Indeed the main purpose of this library is to provide a similar experience to Rebass within React Native applications.

Usage

import { Box, Flex } from '@houseme-networks/rental-primitives';

<Box bg={"red"}>
    { /* Your Text, Images, Other Components, etc. */}
</Box>


<Flex flexDirection={"row"}>
    { /* Your Text, Images, Other Components, etc. */}
</Flex>

Box and Flex are basically the same however Flex defaults to a Flexbox component saving just a little time over using Box and setting the display property.

Readme

Keywords

none

Package Sidebar

Install

npm i @houseme-networks/rental-primitives

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

2.62 kB

Total Files

3

Last publish

Collaborators

  • samr97
  • louislombardo