mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
16 lines
389 B
TypeScript
16 lines
389 B
TypeScript
import { Icon } from 'components/Icon'
|
|
import * as React from 'react'
|
|
|
|
type Props = {
|
|
text: React.ReactNode
|
|
}
|
|
export function LoadingIndicator({ text }: Props) {
|
|
return (
|
|
<div className={'loading-indicator-container'}>
|
|
<div className={'loading-indicator'}>
|
|
<Icon className={'loading-indicator-icon'} type={'hourglass'} />
|
|
{text}
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|