2020-07-02 09:38:39 +03:00
|
|
|
import * as React from "react";
|
|
|
|
import * as System from "../dist";
|
|
|
|
|
|
|
|
export default class TestPage extends React.Component {
|
|
|
|
render() {
|
2020-07-02 11:24:14 +03:00
|
|
|
console.log(System.Constants);
|
2020-07-02 09:38:39 +03:00
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
<System.H1>Component Library Test</System.H1>
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<System.P>
|
|
|
|
If this works. That means the component library bundle is working
|
|
|
|
correctly.
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<System.ButtonPrimary>Primary</System.ButtonPrimary>
|
|
|
|
<System.ButtonSecondary>Secondary</System.ButtonSecondary>
|
|
|
|
<System.ButtonDisabled>Disabled</System.ButtonDisabled>
|
|
|
|
</System.P>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|