@datavac/ui-kit 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type HTMLAttributes } from 'react';
|
|
2
|
+
declare const paddingMap: {
|
|
3
|
+
readonly none: "";
|
|
4
|
+
readonly sm: "p-4";
|
|
5
|
+
readonly md: "p-5";
|
|
6
|
+
readonly lg: "px-8 py-6";
|
|
7
|
+
};
|
|
8
|
+
export interface CardProps extends HTMLAttributes<HTMLDivElement> {
|
|
9
|
+
/** Внутренние отступы: sm=16px, md=20px (по умолчанию), lg=32/24px */
|
|
10
|
+
padding?: keyof typeof paddingMap;
|
|
11
|
+
/** Тонкая тень из дизайна */
|
|
12
|
+
shadow?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const Card: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export {};
|