1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-26 05:16:41 +07:00

fixed comments loader

This commit is contained in:
Fedor Katurov 2022-07-17 13:27:33 +07:00
parent 0a1d2cbf99
commit bb81bdae69
16 changed files with 80 additions and 127 deletions

View file

@ -0,0 +1,18 @@
import React, { FC } from 'react';
import { Button } from '~/components/input/Button';
import styles from './styles.module.scss';
interface LoadMoreButtonProps {
isLoading: boolean;
onClick?: () => void;
}
const LoadMoreButton: FC<LoadMoreButtonProps> = ({ isLoading, onClick }) => (
<Button color="flat" onClick={onClick} stretchy className={styles.more} loading={isLoading}>
Показать ещё комментарии
</Button>
);
export { LoadMoreButton }

View file

@ -0,0 +1,5 @@
@import "src/styles/variables";
.more {
width: 100%;
}