crashbell / native-base-docs

Documentation of NativeBase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Introduction

Essential cross-platform UI components for React Native

NativeBase is a free and open source UI component library for React Native to build native mobile apps for iOS and Android platforms.

One of our main goals with NativeBase 2.0 is to make it easy to theme the components with as little changes as possible to the components themselves.

General Syntax of NativeBase Component

import React, { Component } from 'react';
import { Container, Button, Text } from 'native-base';
​
export default class IconExample extends Component {
    render() {
        return (
            <Container>
                <Button>
                    <Text>
                        Button
                    </Text>
                </Button>
            </Container>
        );
    }
}

How to get started?

How to migrate from v0.x to v2.x?

About

Documentation of NativeBase

License:Apache License 2.0


Languages

Language:HTML 91.5%Language:JavaScript 4.8%Language:CSS 3.7%