@sikka/hawa 0.0.241 → 0.0.242

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,6 +5,8 @@ type AlertTypes = {
5
5
  title?: any;
6
6
  /** The text of the alert placed below the title of the alert. Can be used alone */
7
7
  text: any;
8
+ /** The duration for the alert to stay on the screen */
9
+ duration?: number;
8
10
  variant?: "normal" | "solid" | "top-accent" | "left-accent" | "right-accent" | "bottom-accent";
9
11
  direction?: "rtl" | "ltr";
10
12
  actions?: [
@@ -3,7 +3,6 @@ type THawaSnackBar = {
3
3
  severity: "info" | "warning" | "error" | "success" | "none";
4
4
  title: string;
5
5
  description: string;
6
- handleClose?: () => void;
7
6
  duration?: number;
8
7
  position?: "top-left" | "top-center" | "top-right" | "bottom-right" | "bottom-center" | "bottom-left";
9
8
  actions?: [