adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
15 lines (14 loc) • 574 B
TypeScript
/// <reference types="react" />
import type { ExtendElementProps } from "../utils/extendElementProp";
export declare type InfoBarProps = ExtendElementProps<"div", {
className?: string;
closable?: boolean;
activatable?: boolean;
info?: boolean;
success?: boolean;
warning?: boolean;
danger?: boolean;
close?: boolean;
onClose?: () => void;
}>;
export declare function InfoBar({ className, children, closable, activatable: activatableValue, info, success, warning, danger, close: closeValue, onClose, ...rest }: InfoBarProps): JSX.Element;