Styling component to show expanded or collapsed content.
import { useState } from "react"; import { ShowMore } from "@/components/ui/show-more-1"; export default function DefaultDemo() { const [expanded, setExpanded] = useState(false); return <ShowMore expanded={expanded} onClick={setExpanded} />; }
Part of Geist — browse the full library on 21st.dev.