tanuki-ui
Version:
HTML-first React component library with semantic elements, multi-OS themes, and production-ready visual node editor
22 lines (21 loc) • 697 B
TypeScript
import { PropsWithChildren, default as React } from 'react';
import { PopupLayoutProps } from './parts/PopupLayout';
export type AlertAction = {
key: string;
value: string;
variant?: string;
};
export declare const Alert: {
({ actions, onSelect, isLoading, children, title, error, description, direction, ...props }: PopupLayoutProps & PropsWithChildren<{
title?: string;
description?: string;
onSelect?: (actionType: string) => void;
mark?: string;
isLoading?: boolean;
aspectRatio?: string;
error?: Error;
direction?: string;
actions?: AlertAction[];
}>): React.JSX.Element;
displayName: string;
};