jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
34 lines (33 loc) • 874 B
TypeScript
/**
* @file index.tsx
*
* @fileoverview Renders and empty element. Normally insde of a box.
*/
import React from 'react';
export interface EmptyElementProps {
/**
* The content to display inside the box.
*/
children: React.ReactNode;
/**
* The icon to display inside the box.
*/
icon?: React.ReactNode;
/**
* The width of the icon to display.
*/
iconWidth?: string;
/**
* Color for the icon.
*/
iconColor?: string;
/**
* The height of the icon to display.
*/
iconHeight?: string;
}
/**
* An empty element can be used to show any kind of empty state. Eithe for
* resumes / companies but also empty dashboard states or other empty states of any kind.
*/
export declare const EmptyElement: ({ children, icon, iconColor, iconWidth, iconHeight }: EmptyElementProps) => JSX.Element;