react-native-widgetsui

1.7.4 • Public • Published

React Native Pre Built Widgets

Getting started

## TABLE OF CONTENTS
1. INSTALLATION
2. COMPONENTS
3. EXAMPLES
4. LICENSE
5. LINKS

INSTALLATION

npm i react-native-widgetsui import {} from 'react-native-widgetsui

COMPONENTS

AVATAR

import {} from 'react-native-widgetsui

A Circular Image Icon with properties of a url and height

{
              <Avatar
                url={"image url"}
                height={80}
                margin={11}
                backgroundColor="grey"
              />
}

PILL BUTTON

import {} from 'react-native-widgetsui

A Pill Shaped button which requires a JSX child element and a onPress event action.

Properties: height, width, backgroundColor

{
              <PillButton
                onPress(()=>{})
                child = {<Text>Press Me</Text>}
                height={40}
                width={200}
                backgroungColor={'blue'}
              />
}

Package Sidebar

Install

npm i react-native-widgetsui

Weekly Downloads

2

Version

1.7.4

License

ISC

Unpacked Size

6.06 kB

Total Files

9

Last publish

Collaborators

  • aariz