mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
13 lines
350 B
TypeScript
13 lines
350 B
TypeScript
|
import * as React from 'react';
|
||
|
|
||
|
type Omit<T, K> = Pick<T, Exclude<keyof T, K>>;
|
||
|
|
||
|
export interface ButtonToggleProps
|
||
|
extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'defaultValue'> {
|
||
|
[key: string]: any;
|
||
|
defaultValue?: boolean;
|
||
|
}
|
||
|
|
||
|
declare class ButtonToggle extends React.Component<ButtonToggleProps> {}
|
||
|
export default ButtonToggle;
|