diff --git a/packages/canon/src/components/Button/types.ts b/packages/canon/src/components/Button/types.ts index 15feca581c..4ab62d5683 100644 --- a/packages/canon/src/components/Button/types.ts +++ b/packages/canon/src/components/Button/types.ts @@ -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; }