diff --git a/src/components/Button/Button.style.ts b/src/components/Button/Button.style.ts index 74db4bfe0..36ed99056 100755 --- a/src/components/Button/Button.style.ts +++ b/src/components/Button/Button.style.ts @@ -41,7 +41,14 @@ export const ButtonChildren = styled.span` `; export const ButtonStyled = styled.button.withConfig({ - shouldForwardProp: (prop: any) => !['format'].includes(prop), + shouldForwardProp: (prop: any) => + ![ + 'format', + 'icononly', + 'iconposition', + 'theme', + 'variant', + ].includes(prop), })` ${buttonCore}; ${buttonIcon};