mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-18 06:22:25 +03:00
25 lines
689 B
JavaScript
25 lines
689 B
JavaScript
import * as React from "react";
|
|
import * as System from "../dist";
|
|
|
|
export default class TestPage extends React.Component {
|
|
render() {
|
|
console.log(System.Constants);
|
|
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>
|
|
);
|
|
}
|
|
}
|