Update types.ts

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
Charles de Dreuille
2025-05-16 08:24:53 +01:00
parent 3fd94f8f5f
commit 42c36f2a7f
@@ -15,6 +15,7 @@
*/
import type { ButtonOwnProps } from './Button.props';
import { ReactElement } from 'react';
/**
* Properties for {@link Button}
@@ -43,10 +44,10 @@ export interface ButtonProps
/**
* Optional icon to display at the start of the button
*/
iconStart?: React.ReactNode;
iconStart?: ReactElement;
/**
* Optional icon to display at the end of the button
*/
iconEnd?: React.ReactNode;
iconEnd?: ReactElement;
}