import React from 'react'; import { FabProps } from '@material-ui/core'; import { ComponentExtra } from '../../types'; export interface BackToTopProps extends Omit { /** * Optional. There already is the arrow icon as a child. However, you can still * bring any node you would like to render inside the button. */ children?: React.ReactNode; /** * Ref forwarded to the HTML Root element. */ forwardedRef?: React.Ref; /** * By default, the component will clear any existing hash from the URL when clicked, since it goes * to the top of the page. Set this prop to true if you don't want this behavior. */ keepHash?: boolean; } export declare type BackToTopType = ComponentExtra, 'button'>; declare const BackToTopExtra: ComponentExtra, "button">; export default BackToTopExtra;