@availity/mui-card 1.0.12 → 2.0.0
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.
- package/CHANGELOG.md +31 -0
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +13 -17
- package/dist/index.mjs +10 -14
- package/package.json +10 -9
- package/src/lib/Card.tsx +1 -1
- package/src/lib/CardActionArea.tsx +1 -1
- package/src/lib/CardActions.tsx +1 -1
- package/src/lib/CardContent.tsx +1 -1
- package/src/lib/CardHeader.tsx +1 -1
- package/src/lib/CardMedia.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,37 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [2.0.0](https://github.com/Availity/element/compare/@availity/mui-card@1.0.13...@availity/mui-card@2.0.0) (2025-11-17)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `mui-button` updated to version `1.0.13`
|
|
10
|
+
* `mui-icon` updated to version `1.0.13`
|
|
11
|
+
* `mui-form-utils` updated to version `1.0.13`
|
|
12
|
+
* `mui-layout` updated to version `1.0.13`
|
|
13
|
+
* `mui-avatar` updated to version `1.0.13`
|
|
14
|
+
* `mui-chip` updated to version `1.0.13`
|
|
15
|
+
|
|
16
|
+
### ⚠ BREAKING CHANGES
|
|
17
|
+
|
|
18
|
+
* @mui/material upgraded to v7
|
|
19
|
+
* @mui/x-* upgraded to v8
|
|
20
|
+
* react upgraded to v19
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* upgrade material and react dependencies ([51602a4](https://github.com/Availity/element/commit/51602a48c5304db6f61e2c7e772c9a3a4aa3f65c))
|
|
25
|
+
|
|
26
|
+
## [1.0.13](https://github.com/Availity/element/compare/@availity/mui-card@1.0.12...@availity/mui-card@1.0.13) (2025-10-30)
|
|
27
|
+
|
|
28
|
+
### Dependency Updates
|
|
29
|
+
|
|
30
|
+
* `mui-button` updated to version `1.0.12`
|
|
31
|
+
* `mui-icon` updated to version `1.0.12`
|
|
32
|
+
* `mui-form-utils` updated to version `1.0.12`
|
|
33
|
+
* `mui-layout` updated to version `1.0.12`
|
|
34
|
+
* `mui-avatar` updated to version `1.0.12`
|
|
35
|
+
* `mui-chip` updated to version `1.0.12`
|
|
5
36
|
## [1.0.12](https://github.com/Availity/element/compare/@availity/mui-card@1.0.11...@availity/mui-card@1.0.12) (2025-05-29)
|
|
6
37
|
|
|
7
38
|
### Dependency Updates
|
package/dist/index.d.mts
CHANGED
|
@@ -9,22 +9,22 @@ import { CardMediaProps as CardMediaProps$1 } from '@mui/material/CardMedia';
|
|
|
9
9
|
interface CardProps extends Omit<CardProps$1, 'elevation' | 'raised' | 'square'> {
|
|
10
10
|
children?: React.ReactNode;
|
|
11
11
|
}
|
|
12
|
-
declare const Card: ({ children, ...rest }: CardProps) => JSX.Element;
|
|
12
|
+
declare const Card: ({ children, ...rest }: CardProps) => React.JSX.Element;
|
|
13
13
|
|
|
14
14
|
interface CardActionAreaProps extends Omit<CardActionAreaProps$1, 'centerRipple' | 'disableRipple' | 'disableTouchRipple' | 'focusRipple' | 'TouchRippleProps' | 'touchRippleRef'> {
|
|
15
15
|
children?: React.ReactNode;
|
|
16
16
|
}
|
|
17
|
-
declare const CardActionArea: ({ children, ...rest }: CardActionAreaProps) => JSX.Element;
|
|
17
|
+
declare const CardActionArea: ({ children, ...rest }: CardActionAreaProps) => React.JSX.Element;
|
|
18
18
|
|
|
19
19
|
interface CardActionsProps extends CardActionsProps$1 {
|
|
20
20
|
children?: React.ReactNode;
|
|
21
21
|
}
|
|
22
|
-
declare const CardActions: ({ children, ...rest }: CardActionsProps) => JSX.Element;
|
|
22
|
+
declare const CardActions: ({ children, ...rest }: CardActionsProps) => React.JSX.Element;
|
|
23
23
|
|
|
24
24
|
interface CardContentProps extends CardContentProps$1 {
|
|
25
25
|
children?: React.ReactNode;
|
|
26
26
|
}
|
|
27
|
-
declare const CardContent: ({ children, ...rest }: CardContentProps) => JSX.Element;
|
|
27
|
+
declare const CardContent: ({ children, ...rest }: CardContentProps) => React.JSX.Element;
|
|
28
28
|
|
|
29
29
|
type StatusChipProps = {
|
|
30
30
|
/** The color of the component.
|
|
@@ -42,11 +42,11 @@ interface CardHeaderProps extends CardHeaderProps$1 {
|
|
|
42
42
|
/** Section at the top-right of the card for displaying logos. */
|
|
43
43
|
logo?: React.ReactNode;
|
|
44
44
|
}
|
|
45
|
-
declare const CardHeader: ({ titleTypographyProps, subheaderTypographyProps, statusChipProps, action, subheader, title, logo, ...rest }: CardHeaderProps) => JSX.Element;
|
|
45
|
+
declare const CardHeader: ({ titleTypographyProps, subheaderTypographyProps, statusChipProps, action, subheader, title, logo, ...rest }: CardHeaderProps) => React.JSX.Element;
|
|
46
46
|
|
|
47
47
|
interface CardMediaProps extends CardMediaProps$1 {
|
|
48
48
|
children?: React.ReactNode;
|
|
49
49
|
}
|
|
50
|
-
declare const CardMedia: ({ children, ...rest }: CardMediaProps) => JSX.Element;
|
|
50
|
+
declare const CardMedia: ({ children, ...rest }: CardMediaProps) => React.JSX.Element;
|
|
51
51
|
|
|
52
52
|
export { Card, CardActionArea, type CardActionAreaProps, CardActions, type CardActionsProps, CardContent, type CardContentProps, CardHeader, type CardHeaderProps, CardMedia, type CardMediaProps, type CardProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -9,22 +9,22 @@ import { CardMediaProps as CardMediaProps$1 } from '@mui/material/CardMedia';
|
|
|
9
9
|
interface CardProps extends Omit<CardProps$1, 'elevation' | 'raised' | 'square'> {
|
|
10
10
|
children?: React.ReactNode;
|
|
11
11
|
}
|
|
12
|
-
declare const Card: ({ children, ...rest }: CardProps) => JSX.Element;
|
|
12
|
+
declare const Card: ({ children, ...rest }: CardProps) => React.JSX.Element;
|
|
13
13
|
|
|
14
14
|
interface CardActionAreaProps extends Omit<CardActionAreaProps$1, 'centerRipple' | 'disableRipple' | 'disableTouchRipple' | 'focusRipple' | 'TouchRippleProps' | 'touchRippleRef'> {
|
|
15
15
|
children?: React.ReactNode;
|
|
16
16
|
}
|
|
17
|
-
declare const CardActionArea: ({ children, ...rest }: CardActionAreaProps) => JSX.Element;
|
|
17
|
+
declare const CardActionArea: ({ children, ...rest }: CardActionAreaProps) => React.JSX.Element;
|
|
18
18
|
|
|
19
19
|
interface CardActionsProps extends CardActionsProps$1 {
|
|
20
20
|
children?: React.ReactNode;
|
|
21
21
|
}
|
|
22
|
-
declare const CardActions: ({ children, ...rest }: CardActionsProps) => JSX.Element;
|
|
22
|
+
declare const CardActions: ({ children, ...rest }: CardActionsProps) => React.JSX.Element;
|
|
23
23
|
|
|
24
24
|
interface CardContentProps extends CardContentProps$1 {
|
|
25
25
|
children?: React.ReactNode;
|
|
26
26
|
}
|
|
27
|
-
declare const CardContent: ({ children, ...rest }: CardContentProps) => JSX.Element;
|
|
27
|
+
declare const CardContent: ({ children, ...rest }: CardContentProps) => React.JSX.Element;
|
|
28
28
|
|
|
29
29
|
type StatusChipProps = {
|
|
30
30
|
/** The color of the component.
|
|
@@ -42,11 +42,11 @@ interface CardHeaderProps extends CardHeaderProps$1 {
|
|
|
42
42
|
/** Section at the top-right of the card for displaying logos. */
|
|
43
43
|
logo?: React.ReactNode;
|
|
44
44
|
}
|
|
45
|
-
declare const CardHeader: ({ titleTypographyProps, subheaderTypographyProps, statusChipProps, action, subheader, title, logo, ...rest }: CardHeaderProps) => JSX.Element;
|
|
45
|
+
declare const CardHeader: ({ titleTypographyProps, subheaderTypographyProps, statusChipProps, action, subheader, title, logo, ...rest }: CardHeaderProps) => React.JSX.Element;
|
|
46
46
|
|
|
47
47
|
interface CardMediaProps extends CardMediaProps$1 {
|
|
48
48
|
children?: React.ReactNode;
|
|
49
49
|
}
|
|
50
|
-
declare const CardMedia: ({ children, ...rest }: CardMediaProps) => JSX.Element;
|
|
50
|
+
declare const CardMedia: ({ children, ...rest }: CardMediaProps) => React.JSX.Element;
|
|
51
51
|
|
|
52
52
|
export { Card, CardActionArea, type CardActionAreaProps, CardActions, type CardActionsProps, CardContent, type CardContentProps, CardHeader, type CardHeaderProps, CardMedia, type CardMediaProps, type CardProps };
|
package/dist/index.js
CHANGED
|
@@ -103,20 +103,16 @@ var CardContent = (_a) => {
|
|
|
103
103
|
// src/lib/CardHeader.tsx
|
|
104
104
|
var import_CardHeader = __toESM(require("@mui/material/CardHeader"));
|
|
105
105
|
|
|
106
|
-
// ../chip/src/lib/
|
|
106
|
+
// ../chip/src/lib/StatusChip.tsx
|
|
107
107
|
var import_Chip = __toESM(require("@mui/material/Chip"));
|
|
108
108
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
109
|
-
|
|
110
|
-
// ../chip/src/lib/StatusChip.tsx
|
|
111
|
-
var import_Chip2 = __toESM(require("@mui/material/Chip"));
|
|
112
|
-
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
113
109
|
var StatusChip = (_a) => {
|
|
114
110
|
var _b = _a, { color = "default" } = _b, rest = __objRest(_b, ["color"]);
|
|
115
|
-
return /* @__PURE__ */ (0,
|
|
111
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Chip.default, __spreadProps(__spreadValues({ color }, rest), { size: "small" }));
|
|
116
112
|
};
|
|
117
113
|
|
|
118
114
|
// src/lib/CardHeader.tsx
|
|
119
|
-
var
|
|
115
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
120
116
|
var CardHeader = (_a) => {
|
|
121
117
|
var _b = _a, {
|
|
122
118
|
titleTypographyProps,
|
|
@@ -135,25 +131,25 @@ var CardHeader = (_a) => {
|
|
|
135
131
|
"title",
|
|
136
132
|
"logo"
|
|
137
133
|
]);
|
|
138
|
-
return /* @__PURE__ */ (0,
|
|
134
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
139
135
|
import_CardHeader.default,
|
|
140
136
|
__spreadProps(__spreadValues({}, rest), {
|
|
141
|
-
title: logo ? /* @__PURE__ */ (0,
|
|
137
|
+
title: logo ? /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
|
|
142
138
|
logo,
|
|
143
|
-
/* @__PURE__ */ (0,
|
|
139
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("br", {}),
|
|
144
140
|
title
|
|
145
141
|
] }) : title,
|
|
146
142
|
titleTypographyProps: __spreadProps(__spreadValues({}, titleTypographyProps), {
|
|
147
143
|
variant: "h5"
|
|
148
144
|
}),
|
|
149
145
|
subheaderTypographyProps: __spreadProps(__spreadValues({}, subheaderTypographyProps), { variant: "body2" }),
|
|
150
|
-
subheader: statusChipProps && statusChipProps.position === "bottom" ? /* @__PURE__ */ (0,
|
|
146
|
+
subheader: statusChipProps && statusChipProps.position === "bottom" ? /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
|
|
151
147
|
subheader,
|
|
152
|
-
/* @__PURE__ */ (0,
|
|
153
|
-
/* @__PURE__ */ (0,
|
|
148
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("br", {}),
|
|
149
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(StatusChip, __spreadValues({}, statusChipProps))
|
|
154
150
|
] }) : subheader,
|
|
155
|
-
action: statusChipProps && statusChipProps.position === "right" ? /* @__PURE__ */ (0,
|
|
156
|
-
/* @__PURE__ */ (0,
|
|
151
|
+
action: statusChipProps && statusChipProps.position === "right" ? /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
|
|
152
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(StatusChip, __spreadValues({}, statusChipProps)),
|
|
157
153
|
action
|
|
158
154
|
] }) : action
|
|
159
155
|
})
|
|
@@ -162,10 +158,10 @@ var CardHeader = (_a) => {
|
|
|
162
158
|
|
|
163
159
|
// src/lib/CardMedia.tsx
|
|
164
160
|
var import_CardMedia = __toESM(require("@mui/material/CardMedia"));
|
|
165
|
-
var
|
|
161
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
166
162
|
var CardMedia = (_a) => {
|
|
167
163
|
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
|
|
168
|
-
return /* @__PURE__ */ (0,
|
|
164
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_CardMedia.default, __spreadProps(__spreadValues({}, rest), { children }));
|
|
169
165
|
};
|
|
170
166
|
// Annotate the CommonJS export names for ESM import in node:
|
|
171
167
|
0 && (module.exports = {
|
package/dist/index.mjs
CHANGED
|
@@ -67,20 +67,16 @@ var CardContent = (_a) => {
|
|
|
67
67
|
// src/lib/CardHeader.tsx
|
|
68
68
|
import { default as MuiCardHeader } from "@mui/material/CardHeader";
|
|
69
69
|
|
|
70
|
-
// ../chip/src/lib/
|
|
70
|
+
// ../chip/src/lib/StatusChip.tsx
|
|
71
71
|
import { default as MuiChip } from "@mui/material/Chip";
|
|
72
72
|
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
73
|
-
|
|
74
|
-
// ../chip/src/lib/StatusChip.tsx
|
|
75
|
-
import { default as MuiChip2 } from "@mui/material/Chip";
|
|
76
|
-
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
77
73
|
var StatusChip = (_a) => {
|
|
78
74
|
var _b = _a, { color = "default" } = _b, rest = __objRest(_b, ["color"]);
|
|
79
|
-
return /* @__PURE__ */
|
|
75
|
+
return /* @__PURE__ */ jsx5(MuiChip, __spreadProps(__spreadValues({ color }, rest), { size: "small" }));
|
|
80
76
|
};
|
|
81
77
|
|
|
82
78
|
// src/lib/CardHeader.tsx
|
|
83
|
-
import { Fragment, jsx as
|
|
79
|
+
import { Fragment, jsx as jsx6, jsxs } from "react/jsx-runtime";
|
|
84
80
|
var CardHeader = (_a) => {
|
|
85
81
|
var _b = _a, {
|
|
86
82
|
titleTypographyProps,
|
|
@@ -99,12 +95,12 @@ var CardHeader = (_a) => {
|
|
|
99
95
|
"title",
|
|
100
96
|
"logo"
|
|
101
97
|
]);
|
|
102
|
-
return /* @__PURE__ */
|
|
98
|
+
return /* @__PURE__ */ jsx6(
|
|
103
99
|
MuiCardHeader,
|
|
104
100
|
__spreadProps(__spreadValues({}, rest), {
|
|
105
101
|
title: logo ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
106
102
|
logo,
|
|
107
|
-
/* @__PURE__ */
|
|
103
|
+
/* @__PURE__ */ jsx6("br", {}),
|
|
108
104
|
title
|
|
109
105
|
] }) : title,
|
|
110
106
|
titleTypographyProps: __spreadProps(__spreadValues({}, titleTypographyProps), {
|
|
@@ -113,11 +109,11 @@ var CardHeader = (_a) => {
|
|
|
113
109
|
subheaderTypographyProps: __spreadProps(__spreadValues({}, subheaderTypographyProps), { variant: "body2" }),
|
|
114
110
|
subheader: statusChipProps && statusChipProps.position === "bottom" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
115
111
|
subheader,
|
|
116
|
-
/* @__PURE__ */
|
|
117
|
-
/* @__PURE__ */
|
|
112
|
+
/* @__PURE__ */ jsx6("br", {}),
|
|
113
|
+
/* @__PURE__ */ jsx6(StatusChip, __spreadValues({}, statusChipProps))
|
|
118
114
|
] }) : subheader,
|
|
119
115
|
action: statusChipProps && statusChipProps.position === "right" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
120
|
-
/* @__PURE__ */
|
|
116
|
+
/* @__PURE__ */ jsx6(StatusChip, __spreadValues({}, statusChipProps)),
|
|
121
117
|
action
|
|
122
118
|
] }) : action
|
|
123
119
|
})
|
|
@@ -126,10 +122,10 @@ var CardHeader = (_a) => {
|
|
|
126
122
|
|
|
127
123
|
// src/lib/CardMedia.tsx
|
|
128
124
|
import { default as MuiCardMedia } from "@mui/material/CardMedia";
|
|
129
|
-
import { jsx as
|
|
125
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
130
126
|
var CardMedia = (_a) => {
|
|
131
127
|
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
|
|
132
|
-
return /* @__PURE__ */
|
|
128
|
+
return /* @__PURE__ */ jsx7(MuiCardMedia, __spreadProps(__spreadValues({}, rest), { children }));
|
|
133
129
|
};
|
|
134
130
|
export {
|
|
135
131
|
Card,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@availity/mui-card",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Availity MUI Card Component - part of the @availity/element design system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -40,19 +40,20 @@
|
|
|
40
40
|
"publish:canary": "yarn npm publish --access public --tag canary"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@availity/mui-button": "^
|
|
44
|
-
"@availity/mui-icon": "^
|
|
45
|
-
"@mui/material": "^
|
|
46
|
-
"react": "
|
|
47
|
-
"react-dom": "
|
|
43
|
+
"@availity/mui-button": "^2.0.0",
|
|
44
|
+
"@availity/mui-icon": "^2.0.0",
|
|
45
|
+
"@mui/material": "^7.3.4",
|
|
46
|
+
"react": "19.2.0",
|
|
47
|
+
"react-dom": "19.2.0",
|
|
48
48
|
"tsup": "^8.4.0",
|
|
49
49
|
"typescript": "^5.4.5"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@mui/material": "^
|
|
53
|
-
"react": ">=
|
|
52
|
+
"@mui/material": "^7.0.0",
|
|
53
|
+
"react": ">=17.0.0"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
|
57
|
-
}
|
|
57
|
+
},
|
|
58
|
+
"sideEffects": false
|
|
58
59
|
}
|
package/src/lib/Card.tsx
CHANGED
|
@@ -4,6 +4,6 @@ export interface CardProps extends Omit<MuiCardProps, 'elevation' | 'raised' | '
|
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
export const Card = ({ children, ...rest }: CardProps): JSX.Element => {
|
|
7
|
+
export const Card = ({ children, ...rest }: CardProps): React.JSX.Element => {
|
|
8
8
|
return <MuiCard {...rest}>{children}</MuiCard>;
|
|
9
9
|
};
|
|
@@ -11,7 +11,7 @@ export interface CardActionAreaProps
|
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
export const CardActionArea = ({ children, ...rest }: CardActionAreaProps): JSX.Element => {
|
|
14
|
+
export const CardActionArea = ({ children, ...rest }: CardActionAreaProps): React.JSX.Element => {
|
|
15
15
|
return (
|
|
16
16
|
<MuiCardActionArea {...rest} disableRipple>
|
|
17
17
|
{children}
|
package/src/lib/CardActions.tsx
CHANGED
|
@@ -4,6 +4,6 @@ export interface CardActionsProps extends MuiCardActionsProps {
|
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
export const CardActions = ({ children, ...rest }: CardActionsProps): JSX.Element => {
|
|
7
|
+
export const CardActions = ({ children, ...rest }: CardActionsProps): React.JSX.Element => {
|
|
8
8
|
return <MuiCardActions {...rest}>{children}</MuiCardActions>;
|
|
9
9
|
};
|
package/src/lib/CardContent.tsx
CHANGED
|
@@ -4,6 +4,6 @@ export interface CardContentProps extends MuiCardContentProps {
|
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
export const CardContent = ({ children, ...rest }: CardContentProps): JSX.Element => {
|
|
7
|
+
export const CardContent = ({ children, ...rest }: CardContentProps): React.JSX.Element => {
|
|
8
8
|
return <MuiCardContent {...rest}>{children}</MuiCardContent>;
|
|
9
9
|
};
|
package/src/lib/CardHeader.tsx
CHANGED
package/src/lib/CardMedia.tsx
CHANGED
|
@@ -4,6 +4,6 @@ export interface CardMediaProps extends MuiCardMediaProps {
|
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
export const CardMedia = ({ children, ...rest }: CardMediaProps): JSX.Element => {
|
|
7
|
+
export const CardMedia = ({ children, ...rest }: CardMediaProps): React.JSX.Element => {
|
|
8
8
|
return <MuiCardMedia {...rest}>{children}</MuiCardMedia>;
|
|
9
9
|
};
|