From c97b9e1f730060c1305b8f029cc4dde68e664a9a Mon Sep 17 00:00:00 2001 From: MT Lewis Date: Thu, 16 Apr 2026 15:20:58 +0100 Subject: [PATCH] ui: add `style` prop to CardBaseProps Signed-off-by: MT Lewis --- packages/ui/report.api.md | 1 + packages/ui/src/components/Card/types.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/ui/report.api.md b/packages/ui/report.api.md index 8a2d8ecddf..66606652ad 100644 --- a/packages/ui/report.api.md +++ b/packages/ui/report.api.md @@ -646,6 +646,7 @@ export const Card: ForwardRefExoticComponent< export type CardBaseProps = { children?: ReactNode; className?: string; + style?: CSSProperties; }; // @public diff --git a/packages/ui/src/components/Card/types.ts b/packages/ui/src/components/Card/types.ts index 08fb906058..c874ec8720 100644 --- a/packages/ui/src/components/Card/types.ts +++ b/packages/ui/src/components/Card/types.ts @@ -14,7 +14,7 @@ * limitations under the License. */ -import type { ReactNode } from 'react'; +import type { ReactNode, CSSProperties } from 'react'; import type { ButtonProps as RAButtonProps } from 'react-aria-components'; import type { FlexItemProps } from '../../types'; @@ -22,6 +22,7 @@ import type { FlexItemProps } from '../../types'; export type CardBaseProps = { children?: ReactNode; className?: string; + style?: CSSProperties; }; /** @public */