shelving
Version:
Toolkit for using data in JavaScript.
11 lines (10 loc) • 485 B
TypeScript
import { type ReactElement } from "react";
import { type FlexVariants } from "../style/Flex.js";
export interface NoticesProps extends FlexVariants {
}
/**
* Output the global list of notices.
* - Listens for `"notice"` events on `window` (or that bubble up to `window`) and shows them in the global notice list.
* - This is how e.g. `<Button>` and `<FormNotify>` components send notices into the global list.
*/
export declare function Notices(props: NoticesProps): ReactElement;