UNPKG

react-pdf-builder

Version:
18 lines (17 loc) 970 B
import React from 'react'; import { SwatchColor } from '../../themes/ColorScheme'; import { BoxProps } from '../layout/Box'; export interface CardBodyProps extends BoxProps { /** Optional. Set to `true` when there is no header above the card body. */ noHeader?: boolean; /** Optional. Set to `true` when there is a footer below the card body. */ withFooter?: boolean; /** Optional. One of the [swatch color names](https://justinmahar.github.io/react-pdf-builder/?path=/docs/documentation-themes--docs#swatch-colors) from the theme, as a string. */ swatch?: SwatchColor; /** Optional. Opacity value for the swatch color, from `0` to `1`. */ swatchOpacity?: number; } /** * Read the [full documentation for CardBody](https://justinmahar.github.io/react-pdf-builder/?path=/docs/documentation-components-cards-cardbody--docs) */ export declare const CardBody: ({ children, className, style, ...props }: CardBodyProps) => React.JSX.Element;