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
-14
@@ -7,29 +7,20 @@
|
||||
import React from "react";
|
||||
import * as SubframeUtils from "../../utils";
|
||||
|
||||
export interface BannerOfflineRootProps
|
||||
extends React.HTMLAttributes<HTMLDivElement> {
|
||||
export interface BannerOfflineRootProps extends React.HTMLAttributes<HTMLDivElement> {
|
||||
variant?: "default";
|
||||
text?: React.ReactNode;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const BannerOfflineRoot = React.forwardRef<
|
||||
HTMLDivElement,
|
||||
BannerOfflineRootProps
|
||||
>(function BannerOfflineRoot(
|
||||
{
|
||||
variant = "default",
|
||||
text,
|
||||
className,
|
||||
...otherProps
|
||||
}: BannerOfflineRootProps,
|
||||
const BannerOfflineRoot = React.forwardRef<HTMLDivElement, BannerOfflineRootProps>(function BannerOfflineRoot(
|
||||
{ variant: _variant = "default", text, className, ...otherProps }: BannerOfflineRootProps,
|
||||
ref
|
||||
) {
|
||||
return (
|
||||
<div
|
||||
className={SubframeUtils.twClassNames(
|
||||
"flex w-full items-center gap-2 border-b border-solid border-border-warning-solid bg-surface-feedback-subtle-warning px-4 py-3",
|
||||
"border-border-warning-solid bg-surface-feedback-subtle-warning flex w-full items-center gap-2 border-b border-solid px-4 py-3",
|
||||
className
|
||||
)}
|
||||
ref={ref}
|
||||
@@ -38,9 +29,10 @@ const BannerOfflineRoot = React.forwardRef<
|
||||
<img
|
||||
className="h-1 w-1 flex-none object-cover"
|
||||
src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNCIgaGVpZ2h0PSI0IiB2aWV3Qm94PSIwIDAgNCA0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxjaXJjbGUgY3g9IjIiIGN5PSIyIiByPSIyIiBmaWxsPSIjOUI1RTBEIi8+PC9zdmc+"
|
||||
alt=""
|
||||
/>
|
||||
{text ? (
|
||||
<span className="grow shrink-0 basis-0 whitespace-pre-wrap text-body-default-regular-0 font-body-default-regular-0 text-text-feedback-warning">
|
||||
<span className="text-body-default-regular-0 font-body-default-regular-0 text-text-feedback-warning shrink-0 grow basis-0 whitespace-pre-wrap">
|
||||
{text}
|
||||
</span>
|
||||
) : null}
|
||||
|
||||
Reference in new issue
Block a user