kay-es / 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.

Cover NativeBase

One of our main goal with NativeBase 2.0 is to make it easy to theme the components with very little changes to components themselves.

General Syntax of NativeBase Component

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

How to get started?

About

Documentation of NativeBase

License:Apache License 2.0


Languages

Language:HTML 92.9%Language:JavaScript 4.1%Language:CSS 3.0%