1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 21:06:42 +07:00

made comment block props type

This commit is contained in:
Fedor Katurov 2020-06-05 17:33:29 +07:00
parent c8d8aa356e
commit b8c15cfd99
4 changed files with 9 additions and 9 deletions

View file

@ -1,10 +1,8 @@
import React, { FC } from 'react';
import { ICommentBlock } from '~/constants/comment';
import { ICommentBlockProps } from '~/constants/comment';
import styles from './styles.scss';
interface IProps {
block: ICommentBlock;
}
interface IProps extends ICommentBlockProps {}
const CommentTextBlock: FC<IProps> = ({ block }) => {
return (