'use client';
import {
ShareButton,
type ShareButtonProps,
} from '@/components/animate-ui/components/community/share-button';
type ShareButtonDemoProps = {
size?: ShareButtonProps['size'];
icon?: ShareButtonProps['icon'];
};
export const ShareButtonDemo = ({ size, icon }: ShareButtonDemoProps) => {
return (
<ShareButton size={size} icon={icon}>
Share
</ShareButton>
);
};
npx shadcn@latest add @animate-ui/demo-components-community-share-buttonimport { DemoComponentsCommunityShareButton } from "@/components/ui/demo-components-community-share-button"<DemoComponentsCommunityShareButton />