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 */