UNPKG

488 BTypeScriptView Raw
1import * as React from "react";
2import { IAlert } from "../Alert";
3import { BoxProps } from "../Box";
4
5interface ICallout {
6 /**
7 * The status of the callout
8 */
9 status?: IAlert["status"];
10 /**
11 * The variant of the callout
12 */
13 variant?: IAlert["variant"];
14}
15
16type CalloutProps = BoxProps & ICallout;
17
18/**
19 * A react component used to alert users of a particular screen area that needs user action
20 */
21declare const Callout: React.FC<CalloutProps>;
22
23export default Callout;