Skip to content

Commit

Permalink
fix(mrc): headers props accept ReactNode
Browse files Browse the repository at this point in the history
Signed-off-by: Tristan WAGNER <[email protected]>
  • Loading branch information
tristanwagner committed Dec 13, 2024
1 parent a94c263 commit 41e75df
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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<HeadersProps> = ({
Expand Down

0 comments on commit 41e75df

Please sign in to comment.