1.0.12 • Published 3 years ago

edenfarm-widgets v1.0.12

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

EdenFarm Widgets

Just Widgets 😂

Installation

Since the library is a JS-based solution, to install the latest version of edenfarm-widgets you only need to run:

  npm i edenfarm-widgets

or

  yarn add edenfarm-widgets

Basic Usage

Usage/Examples

import React from "react";
import { View, Text } from "react-native";
import { Container, Row, Column, Body, Badges } from "edenfarm-widgets";

function App() {
  return (
    <View style={{ flex: 1 }}>
      <Container>
        <Row>
          <Text>EdenFarm</Text>
          <Text>Row</Text>
        </Row>
      </Container>
    </View>
  );
}

Props

Container

PropertyDefaultDescription
containerStyle{}for styling the container
onStartShouldSetResponderfalse
onLayoutnull
accessibility''
childrennull

PageContainer

PropertyDefaultDescription
barStylelight-contentfor styling the statusbar
containerStyle{}for styling container
statusBarColorwhitefor change the statusbar color
isBackgroundWhitetrue
childrennull

Row

PropertyDefaultDescription
rowStyle{}for styling the row container
onStartShouldSetResponderfalse
onResponderGrantnull
accessibility''
childrennull

Column

PropertyDefaultDescription
columnStyle{}for styling the column
accessibility''
childrennull

Badges

PropertyDefaultDescription
textColorwhitefor change the text color
textSize12for change the text size
badgePositionANYfor change the badge position
badgeColorredfor change the badge color
badgeLabel''for change the badge label
badgeStyle{}for styling the badge
1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago