mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
adding audio post and view it
This commit is contained in:
parent
645ea8e29e
commit
88333e36b7
3 changed files with 45 additions and 0 deletions
|
@ -2,6 +2,7 @@ import { FC } from 'react';
|
|||
import { INode, ValueOf, IComment } from '../types';
|
||||
import { NodeImageSlideBlock } from '~/components/node/NodeImageSlideBlock';
|
||||
import { NodeTextBlock } from '~/components/node/NodeTextBlock';
|
||||
import { NodeAudioBlock } from '~/components/node/NodeAudioBlock';
|
||||
import { NodeVideoBlock } from '~/components/node/NodeVideoBlock';
|
||||
import { ImageEditor } from '~/components/editors/ImageEditor';
|
||||
import { TextEditor } from '~/components/editors/TextEditor';
|
||||
|
@ -74,6 +75,7 @@ export const NODE_COMPONENTS: INodeComponents = {
|
|||
|
||||
export const NODE_INLINES: INodeComponents = {
|
||||
[NODE_TYPES.TEXT]: NodeTextBlock,
|
||||
[NODE_TYPES.AUDIO]: NodeAudioBlock,
|
||||
};
|
||||
|
||||
export const EMPTY_COMMENT: IComment = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue