UNPKG

react-pdf-builder

Version:
14 lines (13 loc) 741 B
import React from 'react'; import { SwatchColor } from '../../themes/ColorScheme'; import { BoxProps } from '../layout/Box'; export interface CardProps extends BoxProps { /** 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 Card](https://justinmahar.github.io/react-pdf-builder/?path=/docs/documentation-components-cards-card--docs) */ export declare const Card: ({ children, className, style, ...props }: CardProps) => React.JSX.Element;