diff --git a/app/soapbox/components/ui/icon-button/icon-button.tsx b/app/soapbox/components/ui/icon-button/icon-button.tsx index 352c7a92c..6b4f5414a 100644 --- a/app/soapbox/components/ui/icon-button/icon-button.tsx +++ b/app/soapbox/components/ui/icon-button/icon-button.tsx @@ -12,12 +12,14 @@ interface IIconButton extends React.ButtonHTMLAttributes { /** Text to display next ot the button. */ text?: string, /** Don't render a background behind the icon. */ - transparent?: boolean + transparent?: boolean, + /** Predefined styles to display for the button. */ + theme?: 'seamless' | 'outlined', } /** A clickable icon. */ const IconButton = React.forwardRef((props: IIconButton, ref: React.ForwardedRef): JSX.Element => { - const { src, className, iconClassName, text, transparent = false, ...filteredProps } = props; + const { src, className, iconClassName, text, transparent = false, theme = 'seamless', ...filteredProps } = props; return (