mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-29 12:06:31 +03:00
26 lines
702 B
JavaScript
26 lines
702 B
JavaScript
import * as React from "react";
|
|
import * as System from "../dist";
|
|
|
|
export default class SlateReactSystemPage 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>
|
|
);
|
|
}
|
|
}
|