infinity-ui-elements
Version:
A React TypeScript component library with Tailwind CSS design system
32 lines • 1.28 kB
TypeScript
import * as React from "react";
interface NumberCellProps {
value: number;
currency?: string;
subtitle?: string;
className?: string;
}
export declare function NumberCell({ value, currency, subtitle, className, }: NumberCellProps): import("react/jsx-runtime").JSX.Element;
interface IconCellProps {
icon: React.ReactNode;
background?: "neutral" | "primary" | "success" | "warning" | "danger";
className?: string;
}
export declare function IconCell({ icon, background, className, }: IconCellProps): import("react/jsx-runtime").JSX.Element;
export declare function SpacerCell(): import("react/jsx-runtime").JSX.Element;
interface SlotCellProps {
onDragStart?: (e: React.DragEvent) => void;
onDragEnd?: (e: React.DragEvent) => void;
className?: string;
}
export declare function SlotCell({ onDragStart, onDragEnd, className }: SlotCellProps): import("react/jsx-runtime").JSX.Element;
interface AvatarCellProps {
name: string;
initials?: string;
avatar?: string;
subtitle?: string;
color?: string;
className?: string;
}
export declare function AvatarCell({ name, initials, avatar, subtitle, color, className, }: AvatarCellProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=TableCellTypes.d.ts.map