/// /** * The Alert component is used to notify important messages to the user. It is recommended to use it with overlay or overridden shadows. * *```tsx * import * as React from "react" * import * as System from "@harborschool/lighthouse" * import { useTheme } from "@harborschool/lighthouse" * * export default () => { * const [show, setShow] = React.useState(false) * const theme = useTheme() * * return ( * <> * setShow(!show)}>{show ? "Close" : "Show Alert"} * {show && ( * * )} * setShow(false)} * /> * * ) * } * ``` * @param title - string * @param body - React.ReactNode * @param message - string * @param kind - "positive" | "negative" * @param show - boolean * @param closeOnClick - (event: React.MouseEvent) => void * @param overrides - \{ Wrap?: StyletronReact.StyleObject; AlertHeader?: StyletronReact.StyleObject; AlertBody?: StyletronReact.StyleObject } */ export declare const Alert: React.FC; export * from "./types"; import { AlertPropsT } from "./types";