UNPKG

@innovaccer/design-system

Version:

React components library project for Innovaccer Design System

24 lines (23 loc) 817 B
import * as React from 'react'; import { BaseProps } from "../../../../utils/types"; import { IconType } from "../../../../common.type"; export declare type ActionButtonType = 'outlined' | 'rounded'; export interface ActionButtonProps extends BaseProps { name?: string; size: number; type?: ActionButtonType; iconType?: IconType; onClick?: (e: React.MouseEvent<HTMLElement>) => void; onKeyDown?: (e: React.KeyboardEvent<HTMLElement>) => void; children?: React.ReactNode; tabIndex?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>['tabIndex']; } export declare const ActionButton: { (props: ActionButtonProps): React.JSX.Element; displayName: string; defaultProps: { size: number; type: string; }; }; export default ActionButton;