2025-11-01 15:49:29 +01:00
|
|
|
<script lang="ts">
|
2026-03-18 23:39:12 +01:00
|
|
|
import { SafeHtmlContent } from '@cio/ui/custom/safe-html-content';
|
|
|
|
|
|
2025-11-01 15:49:29 +01:00
|
|
|
interface Props {
|
|
|
|
|
code?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let { code = '' }: Props = $props();
|
2021-07-03 19:29:41 +00:00
|
|
|
</script>
|
|
|
|
|
|
2025-11-01 15:49:29 +01:00
|
|
|
<div class="mb-3 rounded-md bg-gray-200 p-5 dark:bg-gray-500">
|
2026-03-18 23:39:12 +01:00
|
|
|
<SafeHtmlContent content={code} />
|
2021-07-03 19:29:41 +00:00
|
|
|
</div>
|