From 47fc29631efe195db8b36740ed01923bc839f0d2 Mon Sep 17 00:00:00 2001 From: Teemu Taskula Date: Sun, 27 Oct 2024 14:37:42 +0200 Subject: [PATCH] Simplify content height example --- example/components/ContentHeight.tsx | 34 +++++++++++++--------------- 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/example/components/ContentHeight.tsx b/example/components/ContentHeight.tsx index 2b8fb16..5862ad3 100644 --- a/example/components/ContentHeight.tsx +++ b/example/components/ContentHeight.tsx @@ -28,26 +28,24 @@ export function ContentHeight() { - + - - - - - - + + + + + - {Array.from({ length: boxes }).map((_, i) => ( - {i} - ))} - - + {Array.from({ length: boxes }).map((_, i) => ( + {i} + ))} +