UNPKG

jobiqo-cl

Version:

[![CircleCI](https://circleci.com/gh/jobiqo/jobiqo-cl.svg?style=svg&circle-token=5a24efa5b8bbc4879276123e77d0d3f35ca7144c)](https://circleci.com/gh/jobiqo/jobiqo-cl)

34 lines (33 loc) 874 B
/** * @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;