@patreon/studio
Version:
Patreon Studio Design System
14 lines (13 loc) • 553 B
TypeScript
import React from 'react';
import type { CardProps } from '../Card/types';
export interface CardWithHeaderProps extends CardProps {
/**
* Title that will be rendered in the header.
*/
title?: React.ReactNode;
/**
* Additional component that will be rendered in the header.
*/
headerAccessory?: React.ReactNode;
}
export declare function CardWithHeader({ title, headerAccessory, variant, elevation, padding, fluidHeight, children, className, style, id, 'data-tag': dataTag, }: CardWithHeaderProps): React.JSX.Element;