khamba
Version:
A cli tool for sharing files through local network.
15 lines (14 loc) • 426 B
TypeScript
import React from 'react';
export declare const icon: {
pending: React.JSX.Element;
loading: 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';
};
declare const CustomTask: ({ label, state }: TProps) => React.JSX.Element;
export default CustomTask;