zarm
Version:
基于 React 的移动端UI库
13 lines (12 loc) • 485 B
TypeScript
import * as React from 'react';
import { HTMLProps } from '../utils/utilityTypes';
import type { BaseBackTopProps } from './interface';
export interface BackTopCssVars {
'--right'?: React.CSSProperties['right'];
'--bottom'?: React.CSSProperties['bottom'];
}
export interface BackTopProps extends BaseBackTopProps, HTMLProps<BackTopCssVars> {
onClick?: (event: React.MouseEvent<HTMLElement>) => void;
}
declare const BackTop: React.FC<BackTopProps>;
export default BackTop;