0.1.7 • Published 7 years ago
react-ui5 v0.1.7
React UI5
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'
Home Page (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 from 'react'
import {render} from 'react-dom'
import sap from 'react-ui5'
render((
<sap.m.Shell>
<sap.m.Page title='Page 1'>
<sap.m.Button >
To page 2
</sap.m.Button>
</sap.m.Page>
<sap.m.Shell>
), document.getElementById('app'))
Supported Components
component | methods | progress |
---|---|---|
Shell | 90% | |
Page | title | 80% |
Button | 50% | |
TabContainer | 40% | |
SplitContainer | 30% | |
TabSplit | 20% |
<SplitContainer />
<TabContainer />