UNPKG

@wix/design-system

Version:

@wix/design-system

20 lines 737 B
import React, { PureComponent } from 'react'; import { ButtonProps } from './Button.types'; import { WixStyleReactDefaultsOverride } from '../WixStyleReactDefaultsOverrideProvider'; declare class Button extends PureComponent<ButtonProps> { static contextType: React.Context<WixStyleReactDefaultsOverride>; static displayName: string; constructor(props: ButtonProps); button: React.RefObject<HTMLButtonElement>; /** * Sets focus on the element */ focus: (options?: FocusOptions) => void; /** * Returns the size and position of the element */ getBoundingClientRect: () => DOMRect | undefined; render(): React.JSX.Element; } export default Button; //# sourceMappingURL=Button.d.ts.map