ConceptPortal-public/rsconcept/frontend/src/features/oss/components/info-block.tsx
Ivan 0b8d66a172
Some checks are pending
Frontend CI / build (22.x) (push) Waiting to run
Frontend CI / notify-failure (push) Blocked by required conditions
F: Improve node UI context menu
2025-04-22 23:42:13 +03:00

27 lines
464 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.

'use client';
import { type IBlock } from '../models/oss';
interface InfoOperationProps {
block: IBlock;
}
export function InfoBlock({ block }: InfoOperationProps) {
return (
<>
{block.title ? (
<p>
<b>Название: </b>
{block.title}
</p>
) : null}
{block.description ? (
<p>
<b>Описание: </b>
{block.description}
</p>
) : null}
</>
);
}