@activecollab/components
Version:
ActiveCollab Components
13 lines • 471 B
TypeScript
import React, { ReactNode } from "react";
import { ElementWithRef } from "../Select";
export type InfoBoxType = "success" | "warning" | "note" | "default" | "neutral" | "ai";
export interface InfoBoxProps {
type: InfoBoxType;
children?: ReactNode;
showIcon?: boolean;
title?: ReactNode | string;
icon?: ElementWithRef<SVGSVGElement>;
action?: ReactNode;
}
export declare const InfoBox: React.FC<InfoBoxProps>;
//# sourceMappingURL=InfoBox.d.ts.map