@eccenca/gui-elements
Version:
GUI elements based on other libraries, usable in React application, written in Typescript.
15 lines (14 loc) • 729 B
TypeScript
import React from "react";
export interface CardContentProps extends React.HTMLAttributes<HTMLDivElement> {
/**
* Usually `CardContent` uses all the remaining space inside a card.
* This behaviour can be changed by this option, so that the content section is not vertically grown or shrinked.
* You may use this then you have multiple content sections in one card but not all those sections should be grown or shrinked regarding the remaining space.
*/
noFlexHeight?: boolean;
}
/**
* Holds the card content.
* Display scrollbars in case there is not enough space for it.
*/
export declare const CardContent: React.ForwardRefExoticComponent<CardContentProps & React.RefAttributes<HTMLDivElement>>;