mirror of
https://github.com/infeng/react-viewer.git
synced 2025-12-08 17:36:40 +00:00
16 lines
309 B
TypeScript
16 lines
309 B
TypeScript
import * as React from 'react';
|
|
|
|
export interface LoadingProps {
|
|
style?: React.CSSProperties;
|
|
}
|
|
|
|
export default function Loading(props: LoadingProps) {
|
|
let cls = 'circle-loading';
|
|
return (
|
|
<div className="loading-wrap" style={props.style}>
|
|
<div className={cls}>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|