@campxdev/shared 1.11.19 → 1.11.20

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/shared",
3
- "version": "1.11.19",
3
+ "version": "1.11.20",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -36,6 +36,7 @@ interface AppHeaderProps {
36
36
  clientLogo: string
37
37
  fullName: string
38
38
  profileUrl?: string
39
+ actions?: ReactNode[]
39
40
  userBoxActions: {
40
41
  label: ReactNode
41
42
  icon?: ReactNode
@@ -52,6 +53,7 @@ export default function AppHeader({
52
53
  cogWheelMenu = [],
53
54
  customHeaderActions,
54
55
  profileUrl,
56
+ actions = [],
55
57
  }: AppHeaderProps) {
56
58
  return (
57
59
  <StyledHeader>
@@ -68,6 +70,7 @@ export default function AppHeader({
68
70
  fullName={fullName}
69
71
  userBoxActions={userBoxActions}
70
72
  profileUrl={profileUrl}
73
+ actions={actions}
71
74
  />
72
75
  )}
73
76
  </Box>