@starasia/admin 4.3.2 → 4.3.3

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.
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { ReactNode, default as React } from 'react';
2
2
  import { IconName } from '@starasia/icon/dist/types';
3
3
 
4
4
  type BackButtonBaseProps = {
@@ -9,12 +9,9 @@ type BackButtonBaseProps = {
9
9
  hoverTextColor?: string;
10
10
  hoverIconColor?: string;
11
11
  };
12
- export type BackButtonProps = BackButtonBaseProps & ({
13
- onClick: () => void;
14
- navigateTo?: never;
15
- } | {
16
- navigateTo: string;
17
- onClick?: never;
18
- });
19
- export declare const BackButton: (props: BackButtonProps) => import("react").JSX.Element;
12
+ export type BackButtonProps = BackButtonBaseProps & {
13
+ onClick?: () => void;
14
+ navigateTo?: string;
15
+ };
16
+ export declare const BackButton: (props: BackButtonProps) => React.JSX.Element;
20
17
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@starasia/admin",
3
- "version": "4.3.2",
3
+ "version": "4.3.3",
4
4
  "description": "Core Admin Dashboard for starasia UI",
5
5
  "author": "Rizki Izzul Haq",
6
6
  "main": "dist/index.umd.js",