feat: added Rating Template to Workflows (#14215)

Co-authored-by: alishaz-polymath <[email protected]>
Co-authored-by: Syed Ali Shahbaz <[email protected]>
This commit is contained in:
authored and GitHub committed 2024-04-04 09:58:52 -07:00
1 parent 844076badb
commit 9bd3a362a2
22 files changed
+845 -408

No files matched your search

@@ -18,6 +18,8 @@ export function EmptyScreen({
border = true,
dashedBorder = true,
className,
iconClassName,
iconWrapperClassName,
}: {
Icon?: IconName;
avatar?: React.ReactElement;
@@ -28,6 +30,8 @@ export function EmptyScreen({
buttonRaw?: ReactNode; // Used incase you want to provide your own button.
border?: boolean;
dashedBorder?: boolean;
iconWrapperClassName?: string;
iconClassName?: string;
} & React.HTMLAttributes<HTMLDivElement>) {
return (
<>
@@ -42,9 +46,17 @@ export function EmptyScreen({
{!avatar ? null : (
<div className="flex h-[72px] w-[72px] items-center justify-center rounded-full">{avatar}</div>
)}
{!icon ? null : (
<div className="bg-emphasis flex h-[72px] w-[72px] items-center justify-center rounded-full ">
<Icon name={icon} className="text-default inline-block h-10 w-10 stroke-[1.3px]" />
<div
className={classNames(
"bg-emphasis flex h-[72px] w-[72px] items-center justify-center rounded-full ",
iconWrapperClassName
)}>
<Icon
name={icon}
className={classNames("text-default inline-block h-10 w-10 stroke-[1.3px]", iconClassName)}
/>
</div>
)}
<div className="flex max-w-[420px] flex-col items-center">