Alexander Zinchuk 3afcde3217 Initial commit
2021-04-09 14:11:51 +03:00

22 lines
453 B
TypeScript

import React, { FC } from '../../lib/teact/teact';
import buildClassName from '../../util/buildClassName';
import './Spinner.scss';
const Spinner: FC<{
color?: 'blue' | 'white' | 'black' | 'green' | 'gray';
withBackground?: boolean;
}> = ({
color = 'blue',
withBackground,
}) => {
return (
<div className={buildClassName('Spinner', color, withBackground && 'with-background')}>
<div />
</div>
);
};
export default Spinner;