File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ const GenericEmptyState = ({
26
26
isButtonAvailable,
27
27
classname,
28
28
styles,
29
- heightToDeduct,
30
29
imageType,
31
30
renderButton,
32
31
imageClassName,
@@ -53,7 +52,6 @@ const GenericEmptyState = ({
53
52
className = { `flex ${ isRowLayout ? 'dc__gap-32' : 'column dc__gap-20' } empty-state ${ classname || '' } ` }
54
53
style = { styles }
55
54
data-testid = "generic-empty-state"
56
- { ...( heightToDeduct >= 0 && { style : { ...styles , height : `calc(100vh - ${ heightToDeduct } px)` } } ) }
57
55
>
58
56
{ ! SvgImage ? (
59
57
! noImage && (
Original file line number Diff line number Diff line change @@ -161,10 +161,6 @@ export interface GenericEmptyStateType {
161
161
subTitle ?: ReactNode
162
162
isButtonAvailable ?: boolean
163
163
styles ?: CSSProperties
164
- /**
165
- * @deprecated To be removed; use flex based layout instead
166
- */
167
- heightToDeduct ?: number
168
164
imageType ?: string
169
165
SvgImage ?
170
166
renderButton ?: ( ) => JSX . Element
You can’t perform that action at this time.
0 commit comments