Skip to content

Commit 8f2c4c6

Browse files
author
Amrit Kashyap Borah
committed
feat: add ClustersAndEnvironments in Pages
1 parent bb2792a commit 8f2c4c6

5 files changed

Lines changed: 18 additions & 0 deletions

File tree

src/Assets/IconV2/ic-cluster.svg

Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export type { NewClusterFormProps, NewClusterFormFooterProps } from './types'
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { Dispatch, SetStateAction } from 'react'
2+
3+
export interface NewClusterFormFooterProps {
4+
apiCallInProgress: boolean
5+
handleModalClose: () => void
6+
}
7+
8+
export interface NewClusterFormProps extends NewClusterFormFooterProps {
9+
setApiCallInProgress: Dispatch<SetStateAction<boolean>>
10+
FooterComponent: React.FunctionComponent<NewClusterFormFooterProps>
11+
}

src/Pages/GlobalConfigurations/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ export * from './BuildInfra'
1818
export * from './Authorization'
1919
export * from './ScopedVariables'
2020
export * from './DeploymentCharts'
21+
export * from './ClustersAndEnvironments'

src/Shared/Components/Icon/Icon.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import { ReactComponent as ICCiWebhook } from '@IconsV2/ic-ci-webhook.svg'
2424
import { ReactComponent as ICCircleLoader } from '@IconsV2/ic-circle-loader.svg'
2525
import { ReactComponent as ICClock } from '@IconsV2/ic-clock.svg'
2626
import { ReactComponent as ICCloseSmall } from '@IconsV2/ic-close-small.svg'
27+
import { ReactComponent as ICCluster } from '@IconsV2/ic-cluster.svg'
2728
import { ReactComponent as ICCode } from '@IconsV2/ic-code.svg'
2829
import { ReactComponent as ICContainer } from '@IconsV2/ic-container.svg'
2930
import { ReactComponent as ICCookr } from '@IconsV2/ic-cookr.svg'
@@ -118,6 +119,7 @@ export const iconMap = {
118119
'ic-circle-loader': ICCircleLoader,
119120
'ic-clock': ICClock,
120121
'ic-close-small': ICCloseSmall,
122+
'ic-cluster': ICCluster,
121123
'ic-code': ICCode,
122124
'ic-container': ICContainer,
123125
'ic-cookr': ICCookr,

0 commit comments

Comments
 (0)