@dreamcommerce/aurora 0.4.1 → 0.4.4

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.
@@ -33,6 +33,7 @@ export interface IColProps {
33
33
  };
34
34
  auto?: 'auto' | 'grow' | '';
35
35
  className?: string;
36
+ children?: React.ReactNode;
36
37
  }
37
38
  export interface IBoxProps {
38
39
  spacing?: boolean;
@@ -1,5 +1,7 @@
1
+ /// <reference types="react" />
1
2
  export interface IHeadingProps {
2
3
  as: string;
3
4
  isSubheading?: boolean;
4
5
  withHeadline?: boolean;
6
+ children?: React.ReactNode;
5
7
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type TMessageBoxType = 'success' | 'alert' | 'warning' | 'light';
2
3
  export interface IMessageBox {
3
4
  type?: TMessageBoxType;
@@ -5,4 +6,5 @@ export interface IMessageBox {
5
6
  withoutIcon?: boolean;
6
7
  className?: string;
7
8
  fullWidth?: boolean;
9
+ children?: React.ReactNode;
8
10
  }
@@ -3,6 +3,6 @@ import { ILoaderProps } from "../loader/types";
3
3
  import { TLoaderSize } from "../loader/types";
4
4
  export interface IWithLoader extends ILoaderProps {
5
5
  size?: TLoaderSize;
6
- children: React.ReactNode;
6
+ children?: React.ReactNode;
7
7
  isLoading: boolean;
8
8
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@dreamcommerce/aurora",
3
3
  "packageManager": "yarn@3.2.0",
4
4
  "sideEffects": false,
5
- "version": "0.4.1",
5
+ "version": "0.4.4",
6
6
  "description": "aurora",
7
7
  "author": "k0ssak",
8
8
  "license": "MIT",