File size: 705 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
import { PureComponent } from 'react';
import { Spinner } from '../';
export class SpinnerExample extends PureComponent {
static displayName = 'Spinner';
render() {
return (
<div>
<p>
<strong>Please exercise caution in deciding to use a spinner in your component.</strong> A
lone spinner is a poor user-experience and conveys little context to what the user should
expect from the page. Refer to{ ' ' }
<a href="/devdocs/docs/reactivity.md">
the <em>Reactivity and Loading States</em> guide
</a>{ ' ' }
for more information on building fast interfaces and making the most of data already
available to use.
</p>
<Spinner />
</div>
);
}
}
|