@commercelayer/app-elements 0.0.2 → 0.0.4

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.
@@ -1,33 +0,0 @@
1
- import React from 'react';
2
- import { StatusUI } from '../atoms/StatusIcon';
3
- export interface ListItemTaskProps extends React.HTMLAttributes<HTMLDivElement> {
4
- /**
5
- * define the status to show the proper icon
6
- */
7
- status: StatusUI;
8
- /**
9
- * Only accepted if status is `progress'
10
- */
11
- progressPercentage?: number;
12
- /**
13
- * Main text to show
14
- */
15
- title: string;
16
- /**
17
- * Optional text to display below the title
18
- */
19
- description?: React.ReactNode;
20
- /**
21
- * When set, this will render a `Cancel` button to cancel the current task
22
- */
23
- onCancelRequest?: () => void;
24
- /**
25
- * Disable hover effect
26
- */
27
- noHover?: boolean;
28
- }
29
- declare function ListItemTask({ status, progressPercentage, title, onCancelRequest, description, className, noHover, ...rest }: ListItemTaskProps): JSX.Element;
30
- declare namespace ListItemTask {
31
- var displayName: string;
32
- }
33
- export { ListItemTask };