Skip to content

A react based implementation of the SAP OpenUI5 framework

License

Notifications You must be signed in to change notification settings

alessh/react-ui5

Repository files navigation

React UI5

NPM

Travis npm package Coveralls

A react based implementation of the SAP OpenUI5 framework (https://openui5.hana.ondemand.com).

###Installation

npm install react-ui5 --save

###Use

import sap from 'react-ui5'

###index.html

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>React-UI5 App</title>
  </head>
  <body>
    <div id="app"></div>
  </body>
</html>

###App.js

import React, { Component } from 'react';

import sap from 'react-ui5'

class App extends Component {
  render() {
    return (
      <sap.m.Shell>
        <sap.m.Page title="Page Demo" >
          <sap.m.Button>To Page 2</sap.m.Button>
        </sap.m.Page>

      </sap.m.Shell>
    );
  }
}

export default App;

###Demo Sample

###Supported Components

component methods progress
Shell 90%
Page title 80%
Button 50%
TabContainer 40%
SplitContainer 30%
TabSplit 20%

###SplitContainer

<SplitContainer />

Master Detail Page ###TabContainer

<TabContainer />

Table Container

About

A react based implementation of the SAP OpenUI5 framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published