@pagamio/frontend-commons-lib
Version:
Pagamio library for Frontend reusable components like the form engine and table container
11 lines (10 loc) • 388 B
TypeScript
import type { IconType } from 'react-icons';
import * as React from 'react';
import { type ButtonProps } from './Button';
interface IconButtonProps extends ButtonProps {
icon: IconType;
label: string;
}
declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
export default IconButton;
export type { IconButtonProps };