add btn from shadcn ui

availability-list
Ryukemeister 2023-10-09 21:47:53 +05:30
parent 743a80f2b2
commit 6f14fe7f4e
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
import { Button } from "@/components/ui/button";
import type { LucideIcon as IconType } from "lucide-react";
import type { ReactNode } from "react";
import React from "react";
@ -58,6 +59,7 @@ export function EmptyScreen({
{description}
</div>
)}
{buttonOnClick && buttonText && <Button onClick={(e) => buttonOnClick(e)}>{buttonText}</Button>}
{buttonRaw}
</div>
</div>