<commit_before># React Native Components

React Native Components Library, 封装常用的组件,提供IOS和Android统一的API接口

## Components

### Database
数据访问API

#### Example
    
    let db = new Database();
    let collection = db.collection('user_collection');
    let user = {
      age: 19
    };
    await collection.insert(user);
    user = await collection.findOne();
    user.name = 'Hello';
    collection.update(user);
    await collection.delete(user);

#### Database API Reference

##### constructor
构造一个``Database``对象
* databaseName 数据库名字(默认:REACT_NATIVE_DEFAULT_DATABASE_NAME)
  
    let db = new Database();
    let myDb = new Database('myDB');



* [Icon](docs/Icon.md)

## Run Examples

    git clone <EMAIL>:sitb-software/ReactNativeComponents.git
    cd ReactNativeComponents/Examples && npm install
    //android
    react-native run-android
    react-native run-ios
<commit_msg>api components list<commit_after># React Native Components

React Native Components Library, 封装常用的组件,提供IOS和Android统一的API接口

## Components

### Badge
### Barcode
### Button
### Camera
### Canvas
### Dialog
### GridView
### Icon
### LoadingDialog
### SettingsList



## Api
### ActionSheet
### Database
数据访问API

#### Database API Reference
##### constructor
构造一个``Database``对象
* databaseName 数据库名字(默认:REACT_NATIVE_DEFAULT_DATABASE_NAME)
  
    let db = new Database();
    let myDb = new Database('myDB');


#### Example
    
    let db = new Database();
    let collection = db.collection('user_collection');
    let user = {
      age: 19
    };
    await collection.insert(user);
    user = await collection.findOne();
    user.name = 'Hello';
    collection.update(user);
    await collection.delete(user);

### MediaManager
### OrientationManager
### Toast

## Run Examples

    git clone <EMAIL>:sitb-software/ReactNativeComponents.git
    cd ReactNativeComponents/Examples && npm install
    //android
    react-native run-android
    react-native run-ios

{'fraction_non_alphanumeric': 0.12615859938208032, 'fraction_numerical': 0.0020597322348094747, 'mean_word_length': 3.7622549019607843, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4761087', 'n_tokens_mistral': 627, 'n_tokens_neox': 628, 'n_words': 144}