# MiniAppLuxstayRN

## Hướng dẫn cài đặt

**Step 1:** cài đặt package

```
npm install miniappluxstay or yarn add miniappluxstay
```

**Step 2** Cài đặt thêm một số thư viện phụ thuộc

- react native vector icon
- react native linear gradient
- react native gesture handler
- react native fast image
- link thêm font chữ

**Step 3** Cách dùng cơ bản

```
import LuxstayMiniApp from 'miniappluxstay'

type Props = {};
export default class App extends Component<Props> {
  render() {
    return (
      <View style={{ flex: 1 }}>
        <SafeAreaView style={{flex: 1, backgroundColor: 'white'}} >
          <LuxstayMiniApp  />
        </SafeAreaView>
      </View>
    );
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: "center",
    alignItems: "center",
    backgroundColor: "#F5FCFF"
  },
  welcome: {
    fontSize: 20,
    textAlign: "center",
    margin: 10
  },
  instructions: {
    textAlign: "center",
    color: "#333333",
    marginBottom: 5
  }
});

```
