mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
made comment block props type
This commit is contained in:
parent
c8d8aa356e
commit
b8c15cfd99
4 changed files with 9 additions and 9 deletions
|
@ -27,6 +27,10 @@ export type ICommentBlock = {
|
|||
content: string;
|
||||
};
|
||||
|
||||
export type ICommentBlockProps = {
|
||||
block: ICommentBlock;
|
||||
};
|
||||
|
||||
export const COMMENT_BLOCK_RENDERERS = {
|
||||
[COMMENT_BLOCK_TYPES.TEXT]: CommentTextBlock,
|
||||
[COMMENT_BLOCK_TYPES.MARK]: CommentTextBlock,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue