Socket
Socket
Sign inDemoInstall

@remobile/react-native-3d-panel

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @remobile/react-native-3d-panel

A 3d left menu like old version QQ


Version published
Maintainers
1
Created

Readme

Source

React Native 3D Left Menu (remobile)

A 3d left menu like old version QQ.

Installation

npm install @remobile/react-native-3d-panel --save

Usage

Example

'use strict';

var React = require('react');
var ReactNative = require('react-native');
var {
    StyleSheet,
    Image,
} = ReactNative;

var Panel = require('@remobile/react-native-3d-panel');
var Menu = require('../person/Settings');
var image = require('./1.jpg');

module.exports = React.createClass({
    render() {
        const menu = (
            <Menu />
        );
        return (
            <Panel leftMenu={menu}>
                <Image
                    resizeMode='stretch'
                    source={image}
                    style={styles.image}>
                </Image>
            </Panel>
        )
    }
});

var styles = StyleSheet.create({
    image: {
        width: sr.w,
        height: sr.h,
    },
});

Screencasts

demo

Props
  • leftMenu: PropTypes.Component.required
  • children: PropTypes.Component.required
  • speed: PropTypes.number.required default:500
  • menuWidth: PropTypes.number.required default:Dimensions.get('window').width*2/3

Keywords

FAQs

Last updated on 08 Mar 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc