@wix/design-system
Version:
@wix/design-system
23 lines • 1.03 kB
TypeScript
import * as React from 'react';
export type CardProps = {
/** Contains elements inside the card such as `<Card.Header/>`, `<Card.Subeader/>`, `<Card.Content/>` or `<Card.Divider/>`. */
children?: React.ReactNode;
/** Contains elements that control the component, usually a `<CloseButton/>`. */
controls?: React.ReactNode;
/** Makes a card stretch vertically to max height in a layout or container. */
stretchVertically?: boolean;
/** Defines whether to hide portions of card content that overflows its dimensions. */
hideOverflow?: boolean;
/** Defines whether to apply a drop shadow effect. */
showShadow?: boolean;
/** Applies a data-hook HTML attribute that can be used in tests. */
dataHook?: string;
/**
* Specifies a CSS class name to be appended to the component's root element.
* @internal
*/
className?: string;
/** Applies a highlighting effect on the borders of the component. */
highlight?: 'focus';
};
//# sourceMappingURL=Card.types.d.ts.map