`s
return (
-
-
- {ui.icon}
-
-
+ `s
- return (
-
- setCollapsed(!collapsed)}
- className="flex flex-shrink-0 cursor-pointer p-4"
- >
- {collapsed ? ui.downIcon : ui.upIcon}
-
- {title}
-
-
-
- {children}
-
-
- );
-}
diff --git a/nx-dev/ui-markdoc/src/lib/tags/disclosure.schema.ts b/nx-dev/ui-markdoc/src/lib/tags/disclosure.schema.ts
deleted file mode 100644
index 87dc15c1be401..0000000000000
--- a/nx-dev/ui-markdoc/src/lib/tags/disclosure.schema.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Schema } from '@markdoc/markdoc';
-
-export const disclosure: Schema = {
- render: 'Disclosure',
- description: 'Display the enclosed content in a collapsible box',
- children: ['paragraph', 'tag', 'list'],
- attributes: {
- title: {
- type: 'String',
- required: true,
- description: 'The title displayed at the top of the collapsible box',
- },
- },
-};