@stratakit/react
Version:
A React component library for StrataKit
12 lines (11 loc) • 559 B
TypeScript
import * as React from "react";
import { type PolymorphicForwardRefComponent } from "./~utils.js";
import type { Alert as IuiAlert } from "@itwin/itwinui-react";
type IuiAlertProps = React.ComponentProps<typeof IuiAlert>;
interface AlertProps extends Pick<IuiAlertProps, "type" | "isSticky" | "clickableText" | "clickableTextProps" | "onClose"> {
/** NOT IMPLEMENTED */
isSticky?: IuiAlertProps["isSticky"];
}
/** @see https://itwinui.bentley.com/docs/alert */
export declare const Alert: PolymorphicForwardRefComponent<"div", AlertProps>;
export {};