1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00
vault-frontend/src/components/lab/LabHead/index.tsx
2021-03-24 17:48:34 +07:00

31 lines
713 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import React, { FC } from 'react';
import styles from './styles.module.scss';
import { LabHeadItem } from '~/components/lab/LabHeadItem';
interface IProps {
isLoading?: boolean;
}
const LabHead: FC<IProps> = ({ isLoading }) => {
return null;
return (
<div className={styles.wrap}>
<div className={styles.group}>
<LabHeadItem icon="recent" active isLoading={isLoading}>
Свежие
</LabHeadItem>
<LabHeadItem icon="hot" isLoading={isLoading}>
Популярные
</LabHeadItem>
<LabHeadItem icon="star_full" isLoading={isLoading}>
Важные
</LabHeadItem>
</div>
</div>
);
};
export { LabHead };