UNPKG

wave-roll

Version:

JavaScript Library for Comparative MIDI Piano-Roll Visualization

13 lines 523 B
/** * Create an icon button * @param icon - The icon to display * @param onClick - The function to call when the button is clicked * @param title - The title of the button * @returns The button element */ export interface IconButtonOptions { /** Optional custom size for the button (width & height) in px. */ size?: number; } export declare const createIconButton: (icon: string, onClick: () => void, title?: string, options?: IconButtonOptions) => HTMLButtonElement; //# sourceMappingURL=icon-button.d.ts.map