@up42/up-components 5.1.0 → 5.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -28,4 +28,37 @@ export type FeatureCardProps = CardProps & {
|
|
|
28
28
|
*/
|
|
29
29
|
hovered?: boolean;
|
|
30
30
|
};
|
|
31
|
-
|
|
31
|
+
/**
|
|
32
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-featurecard--docs
|
|
33
|
+
*/
|
|
34
|
+
export declare const FeatureCard: React.ForwardRefExoticComponent<Omit<import("@mui/material").CardOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
35
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
36
|
+
}, "className" | "style" | "classes" | "children" | "sx" | "elevation" | "square" | "variant" | "raised"> & {
|
|
37
|
+
component?: React.ElementType<any> | undefined;
|
|
38
|
+
} & {
|
|
39
|
+
bannerProps?: Omit<BannerProps, "title" | "variant"> | undefined;
|
|
40
|
+
header?: {
|
|
41
|
+
title: ReactNode;
|
|
42
|
+
actions?: ReactNode;
|
|
43
|
+
} | undefined;
|
|
44
|
+
footer?: {
|
|
45
|
+
info?: ReactNode;
|
|
46
|
+
actions?: ReactNode;
|
|
47
|
+
} | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Whether the card is selectable.
|
|
50
|
+
*/
|
|
51
|
+
isSelectable?: boolean | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Applies the selected state to the card from the parent.
|
|
54
|
+
*/
|
|
55
|
+
selected?: boolean | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Whether the card is hoverable.
|
|
58
|
+
*/
|
|
59
|
+
isHoverable?: boolean | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* Applies the hovered state to the card from the parent.
|
|
62
|
+
*/
|
|
63
|
+
hovered?: boolean | undefined;
|
|
64
|
+
}, "ref"> & React.RefAttributes<unknown>>;
|