Button.d.ts 742 B

1234567891011121314151617181920212223242526
  1. import * as React from 'react';
  2. export interface ButtonProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
  3. duration: number;
  4. }
  5. export declare class Button extends React.Component<ButtonProps> {
  6. el: HTMLAnchorElement | null;
  7. ripple: HTMLElement;
  8. defaultProps: {
  9. duration: number;
  10. };
  11. /**
  12. * Initialisation of the wave effect after the component did mount
  13. */
  14. componentDidMount(): void;
  15. triggerEffect(e: any): void;
  16. isWindow(obj: any): boolean;
  17. getWindow(elem: any): any;
  18. offset(): {
  19. top: number;
  20. left: number;
  21. };
  22. showEffect(e: any): false | undefined;
  23. convertStyle(obj: Object): string;
  24. hideEffect(): void;
  25. render(): React.JSX.Element;
  26. }