Add scss example

This commit is contained in:
Lars Karlitski 2018-06-21 12:32:15 +02:00
parent 47e02ef136
commit 5b726c2f6b
6 changed files with 23 additions and 7 deletions

View file

@ -20,6 +20,7 @@
import cockpit from 'cockpit';
import React from 'react';
import './app.scss';
const _ = cockpit.gettext;
@ -36,9 +37,9 @@ export class Application extends React.Component {
return (
<div className="container-fluid">
<h2>Starter Kit</h2>
<div>
<span>{ cockpit.format(_("Running on $0"), this.state.hostname) }</span>
</div>
<p>
{ cockpit.format(_("Running on $0"), this.state.hostname) }
</p>
</div>
);
}