diff --git a/packages/manager-react-components/src/components/clipboard/clipboard.component.tsx b/packages/manager-react-components/src/components/clipboard/clipboard.component.tsx index f8992e0d3dd1..32674aa4f7af 100644 --- a/packages/manager-react-components/src/components/clipboard/clipboard.component.tsx +++ b/packages/manager-react-components/src/components/clipboard/clipboard.component.tsx @@ -1,18 +1,26 @@ -import { OdsClipboard as OdsClipboardAttribute } from '@ovhcloud/ods-components'; +import { JSX } from '@ovhcloud/ods-components'; import { OdsClipboard } from '@ovhcloud/ods-components/react'; -import React from 'react'; +import React, { HTMLAttributes, RefAttributes } from 'react'; import { useTranslation } from 'react-i18next'; +import { StyleReactProps } from '@ovhcloud/ods-components/react/dist/types/react-component-lib/interfaces'; import './translations'; -export const Clipboard: React.FC> = (props) => { +export const Clipboard: React.FC< + Partial< + JSX.OdsClipboard & + HTMLAttributes & + StyleReactProps & + RefAttributes + > +> = (props) => { const { t } = useTranslation('clipboard'); return ( ); };