diff --git a/packages/manager-react-components/src/components/content/headers/headers.component.tsx b/packages/manager-react-components/src/components/content/headers/headers.component.tsx index 7ef38e8368f1..942882c6bbe1 100644 --- a/packages/manager-react-components/src/components/content/headers/headers.component.tsx +++ b/packages/manager-react-components/src/components/content/headers/headers.component.tsx @@ -1,12 +1,12 @@ -import React from 'react'; +import React, { ReactNode } from 'react'; import { OdsText } from '@ovhcloud/ods-components/react'; import { Title, Subtitle } from '../../typography'; export interface HeadersProps { - title?: string; - subtitle?: string; - description?: string; - headerButton?: React.ReactElement; + title?: ReactNode; + subtitle?: ReactNode; + description?: ReactNode; + headerButton?: ReactNode; } export const Headers: React.FC = ({