import React from 'react'; import Styled from './styles'; interface PluginHelperButtonComponentProps { dark: boolean; bottom: boolean; right: boolean; icon: string; label: string; onClick: (args: { browserClickEvent: React.MouseEvent }) => void; } const PluginHelperButtonComponent = ({ dark = false, bottom = false, onClick, right, icon, label, }: PluginHelperButtonComponentProps) => ( ) => onClick({ browserClickEvent: e })} hideLabel label={label} data-test="switchButton" /> ); export default PluginHelperButtonComponent;