From 103cb16be0b54c7619e474059db94f7b406568a2 Mon Sep 17 00:00:00 2001 From: iCrawl Date: Fri, 7 Oct 2022 02:45:04 +0200 Subject: [PATCH] refactor: improve deprecation block --- .../src/components/tsdoc/BlockComment.tsx | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/packages/website/src/components/tsdoc/BlockComment.tsx b/packages/website/src/components/tsdoc/BlockComment.tsx index 3b0bb4952..e5bdff2af 100644 --- a/packages/website/src/components/tsdoc/BlockComment.tsx +++ b/packages/website/src/components/tsdoc/BlockComment.tsx @@ -20,14 +20,18 @@ export function ExampleBlock({ export function DeprecatedBlock({ children }: PropsWithChildren): JSX.Element { return ( -
-
- - - -
- Deprecated - {children} +
+
+
{children}
+
+
+
+
+ + Deprecated +
+
+