khamba
Version:
A cli tool for sharing files through local network.
17 lines (16 loc) • 522 B
TypeScript
import React from 'react';
export declare const icon: {
pending: React.JSX.Element;
loading: (frames: string[], color: string) => React.JSX.Element;
success: React.JSX.Element;
warning: React.JSX.Element;
error: React.JSX.Element;
};
type TProps = {
label: string;
state?: 'pending' | 'success' | 'warning' | 'error' | 'loading';
frames?: string[];
color?: string;
};
declare const CustomTask: ({ label, state, frames, color, }: TProps) => React.JSX.Element;
export default CustomTask;