Update types.ts
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user