Socket
Socket
Sign inDemoInstall

@gusmano/reext

Package Overview
Dependencies
Maintainers
1
Versions
507
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gusmano/reext

React ReExt is a React component for the Sencha ExtJS Framework components.


Version published
Weekly downloads
63
decreased by-75.77%
Maintainers
1
Weekly downloads
 
Created
Source

React ReExt

React ReExt is a React component for the Sencha ExtJS Framework components.

Installation

Use the package manager npm to install ReExt.

npm install @gusmano/reext

Usage

IMPORTANT:

copy the node_modules/@gusmano/reext/ext folder to the project's public folder

import React from 'react';
import ReExt from '@gusmano/reext';

const App = () => {
  return (
		<div>
			<ReExt xtype='button'
				config={{text: 'click me'}}
				onTap={() => {
					console.log('clicked')
				}}
			/>
			<ReExt xtype='grid'
				style={{height:300}}
				config={{
					title: 'grid',
					columns: [
						{ text: 'Name', dataIndex: 'name', width: 200 },
						{ text: 'Email', dataIndex: 'email', flex: 1 },
						{ text: 'Phone', dataIndex: 'phone', width: 200 }
					],
					data: [
						{ name: 'Lisa', email: 'lisa@simpsons.com', phone: '555-111-1224' },
						{ name: 'Bart', email: 'bart@simpsons.com', phone: '555-222-1234' },
						{ name: 'Homer', email: 'homer@simpsons.com', phone: '555-333-1244' },
						{ name: 'Marge', email: 'marge@simpsons.com', phone: '555-444-1254' }
					]
				}}
				onSelect={(grid, selected)=>{
					console.log(selected[0].data)
				}}
			/>
		</div>
  )
}
export default App

## License

[MIT](https://choosealicense.com/licenses/mit/)

FAQs

Package last updated on 28 Oct 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc