@fileverse-dev/ddoc 2.0.2-patch-8 → 2.0.2-patch-9

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,13 @@
1
+ import { LucideIconProps } from '@fileverse/ui';
2
+
3
+ type IconType = LucideIconProps['name'] | string;
4
+ type TemplateButtonProps = {
5
+ label: string;
6
+ icon: IconType;
7
+ onClick: () => void;
8
+ }[];
9
+ declare const renderIcon: (icon: IconType, className?: string) => import("react/jsx-runtime").JSX.Element | null;
10
+ declare const createTemplateButtons: (addTemplate: (template: string) => void) => TemplateButtonProps;
11
+ declare const createMoreTemplates: (addTemplate: (template: string) => void) => TemplateButtonProps;
12
+ declare const renderTemplateButtons: (templateButtons: TemplateButtonProps, moreTemplates: TemplateButtonProps, visibleTemplateCount: number, expandAllTemplates: () => void) => import("react/jsx-runtime").JSX.Element;
13
+ export { renderIcon, createTemplateButtons, createMoreTemplates, renderTemplateButtons };