1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-28 22:26:41 +07:00
vault-frontend/src/components/input/LoaderCircle/index.tsx
2022-01-19 12:30:04 +07:00

19 lines
520 B
TypeScript

import React, { FC } from 'react';
import classNames from 'classnames';
import { LoaderCircleInner } from '~/components/input/LoaderCircleInner';
import { SVGProps } from '~/utils/types';
import styles from './styles.module.scss';
interface IProps extends SVGProps {
size?: number;
className?: string;
}
export const LoaderCircle: FC<IProps> = ({ size = 24, ...rest }) => (
<div className={classNames(styles.wrap, 'loader-circle', rest.className)}>
<LoaderCircleInner {...rest} size={size} />
</div>
);