import clsx from 'clsx'; import { globals } from '@/utils/constants'; import { CProps } from '../props'; interface MiniButtonProps extends CProps.Button { /** Button type. */ type?: 'button' | 'submit'; /** Icon to display in the button. */ icon: React.ReactNode; /** Disable hover effect. */ noHover?: boolean; /** Disable padding. */ noPadding?: boolean; } /** * Displays small transparent button with an icon. */ export function MiniButton({ icon, noHover, noPadding, tabIndex, title, titleHtml, hideTitle, type = 'button', className, ...restProps }: MiniButtonProps) { return ( ); }