@snowball-tech/fractal
Version:
Fractal's (Snowball's design system) React component library based on RadixUI and TailwindCSS
30 lines (29 loc) • 1.08 kB
TypeScript
import { t as Themes } from "./constants-CzAkZidt.js";
import { a as Variants } from "./Typography.constants-InwYZPhR.js";
import { o as Elevations, t as AlternateElevations } from "./Paper.constants-CEVfcji7.js";
import { AllHTMLAttributes, ElementType, ReactNode } from "react";
//#region src/components/Paper/Paper.types.d.ts
interface PaperProps extends Omit<AllHTMLAttributes<HTMLDivElement>, 'onToggle' | 'title'> {
children: ReactNode;
collapseButtonLabel?: string;
collapsed?: boolean;
collapsible?: boolean;
contentClassName?: string;
defaultCollapsed?: boolean;
element?: ElementType;
elevation?: 0 | 1 | 2 | 3 | `${AlternateElevations}` | `${Elevations}`;
expandButtonLabel?: string;
fullStyle?: boolean;
inlineStyle?: boolean;
theme?: Themes;
title?: ReactNode;
titleClassName?: string;
titleVariant?: `${Variants}`;
toggleButtonLabel?: string;
onCollapse?: () => void;
onExpand?: () => void;
onToggle?: (collapsed: boolean) => void;
}
//#endregion
export { PaperProps as t };
//# sourceMappingURL=Paper.types-2WLE27Qd.d.ts.map