import { ReactNode } from "react"; import "./Placeholder.css"; import { renderProps, onLoad, getCN, get_typeName } from "../utils"; function Placeholder({ children, icon, header, action, ...props }: { [x: string]: any; }) { return (
{icon &&
{icon}
} {header &&
{header}
} {children && (
{children}
)} {action &&
{action}
}
); } export default Placeholder;