Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
+6
-26
@@ -7,46 +7,26 @@
|
||||
import React from "react";
|
||||
import * as SubframeUtils from "../../utils";
|
||||
|
||||
export interface FormSaveRetryRootProps
|
||||
extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
||||
export interface FormSaveRetryRootProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
||||
variant?: "default";
|
||||
title?: React.ReactNode;
|
||||
children?: React.ReactNode;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const FormSaveRetryRoot = React.forwardRef<
|
||||
HTMLDivElement,
|
||||
FormSaveRetryRootProps
|
||||
>(function FormSaveRetryRoot(
|
||||
{
|
||||
variant = "default",
|
||||
title,
|
||||
children,
|
||||
className,
|
||||
...otherProps
|
||||
}: FormSaveRetryRootProps,
|
||||
const FormSaveRetryRoot = React.forwardRef<HTMLDivElement, FormSaveRetryRootProps>(function FormSaveRetryRoot(
|
||||
{ variant: _variant = "default", title, children, className, ...otherProps }: FormSaveRetryRootProps,
|
||||
ref
|
||||
) {
|
||||
return (
|
||||
<div
|
||||
className={SubframeUtils.twClassNames(
|
||||
"flex max-w-[576px] flex-col items-start gap-2 px-4 py-4",
|
||||
className
|
||||
)}
|
||||
ref={ref}
|
||||
{...otherProps}
|
||||
>
|
||||
<div className={SubframeUtils.twClassNames("flex max-w-[576px] flex-col items-start gap-2 px-4 py-4", className)} ref={ref} {...otherProps}>
|
||||
<div className="flex w-full items-center gap-2">
|
||||
<img
|
||||
className="h-1 w-1 flex-none object-cover"
|
||||
src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNCIgaGVpZ2h0PSI0IiB2aWV3Qm94PSIwIDAgNCA0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGNsYXNzPSJoLTEgdy0xIGZsZXgtbm9uZSIgZGF0YS1ub2RlLWlkPSJjNWJhMzRjMCI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9IiNDNTIwMjAiPjwvY2lyY2xlPjwvc3ZnPg=="
|
||||
alt=""
|
||||
/>
|
||||
{children ? (
|
||||
<div className="flex grow shrink-0 basis-0 items-center gap-2">
|
||||
{children}
|
||||
</div>
|
||||
) : null}
|
||||
{children ? <div className="flex shrink-0 grow basis-0 items-center gap-2">{children}</div> : null}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user