Components
Loading preview...
Styling component to show expanded or collapsed content.
@shugar
npx shadcn@latest add https://21st.dev/r/shugar/show-more-1import { 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} />;
}