UNPKG

@sendbird/uikit-react

Version:

Sendbird UIKit for React: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.

19 lines (18 loc) 630 B
import React, { FocusEvent, MouseEvent, ReactNode } from 'react'; import './index.scss'; export interface IconButtonProps { className?: string | Array<string>; children: ReactNode; disabled?: boolean; width?: string; height?: string; type?: 'button' | 'submit' | 'reset'; style?: { [key: string]: string; }; onBlur?: (e: FocusEvent<HTMLButtonElement>) => void; onClick?: (e: MouseEvent<HTMLButtonElement>) => void; testID?: string; } declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>; export default IconButton;