phx-react
Version:
PHX REACT
19 lines (18 loc) • 726 B
TypeScript
import React from 'react';
import { ComplexAction } from '../types';
export interface BannerWithCardProps {
type?: 'informational' | 'success' | 'warning' | 'danger';
title?: string;
description?: string;
className?: string;
onClose?(): void;
show?: boolean;
action?: ComplexAction;
primaryAction?: ComplexAction;
secondaryAction?: ComplexAction;
dangerAction?: ComplexAction;
children?: any;
hideCloseButton?: boolean;
hideIcon?: boolean;
}
export declare const PHXBannerWithCard: ({ action, children, className, dangerAction, description, hideCloseButton, onClose, primaryAction, secondaryAction, show, title, type, hideIcon, }: BannerWithCardProps) => React.JSX.Element;