diff --git a/src/components/EmptyStateComponent/types.ts b/src/components/EmptyStateComponent/types.ts index 91e3043c6ea..70c67a4e87e 100644 --- a/src/components/EmptyStateComponent/types.ts +++ b/src/components/EmptyStateComponent/types.ts @@ -9,13 +9,14 @@ import type IconAsset from '@src/types/utils/IconAsset'; type ValidSkeletons = typeof SearchRowSkeleton | typeof TableRowSkeleton; type MediaTypes = ValueOf; +type Button = {buttonText?: string; buttonAction?: () => void; success?: boolean}; type SharedProps = { SkeletonComponent: ValidSkeletons; title: string; titleStyles?: StyleProp; subtitle: string | React.ReactNode; - buttons?: Array<{buttonText?: string; buttonAction?: () => void; success?: boolean}>; + buttons?: Array