miniappluxstayrn

0.1.9 • Public • Published

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
  }
});

Readme

Keywords

Package Sidebar

Install

npm i miniappluxstayrn

Weekly Downloads

168

Version

0.1.9

License

ISC

Unpacked Size

2.02 MB

Total Files

174

Last publish

Collaborators

  • minhphung210