UNPKG

959 BTypeScriptView Raw
1import * as React from "react";
2import { HTMLDivProps, Props } from "../../common";
3export interface CardListProps extends Props, HTMLDivProps, React.RefAttributes<HTMLDivElement> {
4 /**
5 * Whether this container element should have a visual border.
6 *
7 * Set this to `false` to remove elevation and border radius styles, which allows this element to be a child of
8 * another bordered container element without padding (like SectionCard). Note that this also sets a 1px margin
9 * _in dark theme_ to account for inset box shadows in that theme used across the design system. Be sure to test
10 * your UI in both light and dark theme if you modify this prop value.
11 *
12 * @default true
13 */
14 bordered?: boolean;
15 /**
16 * Whether this component should use compact styles with reduced visual padding.
17 *
18 * @default false
19 */
20 compact?: boolean;
21}
22export declare const CardList: React.FC<CardListProps>;