add btn from shadcn ui
parent
743a80f2b2
commit
6f14fe7f4e
|
@ -1,3 +1,4 @@
|
||||||
|
import { Button } from "@/components/ui/button";
|
||||||
import type { LucideIcon as IconType } from "lucide-react";
|
import type { LucideIcon as IconType } from "lucide-react";
|
||||||
import type { ReactNode } from "react";
|
import type { ReactNode } from "react";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
|
@ -58,6 +59,7 @@ export function EmptyScreen({
|
||||||
{description}
|
{description}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
{buttonOnClick && buttonText && <Button onClick={(e) => buttonOnClick(e)}>{buttonText}</Button>}
|
||||||
{buttonRaw}
|
{buttonRaw}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue