Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
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>
);
}
}