Adding an icon component. Fixes #172
This commit is contained in:
parent
4b43cdf143
commit
2a85b93c58
32 changed files with 232 additions and 409 deletions
|
|
@ -2,6 +2,7 @@ import { Component } from 'inferno';
|
|||
import { Subscription } from 'rxjs';
|
||||
import { PrivateMessageForm } from './private-message-form';
|
||||
import { HtmlTags } from './html-tags';
|
||||
import { Spinner } from './icon';
|
||||
import { UserService, WebSocketService } from '../services';
|
||||
import {
|
||||
SiteView,
|
||||
|
|
@ -112,9 +113,7 @@ export class CreatePrivateMessage extends Component<
|
|||
/>
|
||||
{this.state.loading ? (
|
||||
<h5>
|
||||
<svg class="icon icon-spinner spin">
|
||||
<use xlinkHref="#icon-spinner"></use>
|
||||
</svg>
|
||||
<Spinner />
|
||||
</h5>
|
||||
) : (
|
||||
<div class="row">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue