mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-15 14:15:50 -06:00
- put build tools into devDependencies (closes #62) - Silence `warning package.json: License should be a valid SPDX license expression` - `./node_modules/.bin/` isn't needed in npm scripts - make Demo.js look better
17 lines
360 B
JavaScript
17 lines
360 B
JavaScript
import React, { Component } from 'react';
|
|
|
|
import { render, Window, App, TextInput, Dialog } from './src/';
|
|
|
|
class Example extends Component {
|
|
render() {
|
|
return (
|
|
<App>
|
|
<Window title="Test" size={{ w: 500, h: 500 }} margined={true}>
|
|
<TextInput stretchy={false} />
|
|
</Window>
|
|
</App>
|
|
);
|
|
}
|
|
}
|
|
|
|
render(<Example />);
|