import React, { FC } from 'react'; import { INode } from '~/redux/types'; import { NodePanelInner } from '~/components/node/NodePanelInner'; import { useNodeBlocks } from '~/utils/hooks/node/useNodeBlocks'; import styles from './styles.module.scss'; import { Card } from '~/components/containers/Card'; import { NodePanelLab } from '~/components/node/NodePanelLab'; interface IProps { node: INode; } const LabNode: FC = ({ node }) => { const { inline, block, head } = useNodeBlocks(node, false); console.log(node.id, { inline, block, head }); return (
{head} {block} {inline}
); }; export { LabNode };