@papernote/ui
Version:
A modern React component library with a paper notebook aesthetic - minimal, professional, and expressive
18 lines • 591 B
TypeScript
import React from 'react';
export interface EmptyStateProps {
icon?: React.ReactNode;
title: string;
description: string;
action?: {
label: string;
onClick: () => void;
};
secondaryAction?: {
label: string;
onClick: () => void;
};
/** Optional custom content rendered below the description */
children?: React.ReactNode;
}
export default function EmptyState({ icon, title, description, action, secondaryAction, children, }: EmptyStateProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=EmptyState.d.ts.map