UNPKG

@patreon/studio

Version:

Patreon Studio Design System

21 lines (20 loc) 687 B
import type { BaseProps, ChildrenProps, StylableProps } from '../../types/component'; export interface CardProps extends BaseProps, ChildrenProps, StylableProps { /** * Determines the card background color and border */ variant?: 'default' | 'transparent'; /** * Defines the elevation of the card, used to create separate layers of content. */ elevation?: 'subtle' | 'low' | 'mid'; /** * Adds padding to the card. */ padding?: 'none' | 'tight' | 'regular'; /** * Sets `height` to `100%`. */ fluidHeight?: boolean; } export declare type CardContentProps = Pick<CardProps, 'padding'> & ChildrenProps & StylableProps;