'use client'; import { useState } from 'react'; import clsx from 'clsx'; import { Button } from '@/components/shared/ui/button'; /** * Wraps any section and adds a "Read more" button (truncates to the given height). */ export const LandingReadMoreWrapper = ({ children, className, size = 'lg', variant = 'primary', buttonLabel = 'Read more', }: { children: React.ReactNode; className?: string; size?: 'sm' | 'md' | 'lg'; variant?: 'primary' | 'secondary'; buttonLabel?: string; }) => { const [readMore, setReadMore] = useState(false); return (