UNPKG

tdesign-vue

Version:
18 lines (17 loc) 521 B
import { TNode, AttachNode } from '../common'; export interface TdBackTopProps { container?: AttachNode; content?: string | TNode; default?: string | TNode; duration?: number; offset?: Array<string | number>; shape?: BackTopShapeEnum; size?: 'medium' | 'small'; target?: AttachNode; theme?: 'light' | 'primary' | 'dark'; visibleHeight?: string | number; onClick?: (context: { e: MouseEvent; }) => void; } export declare type BackTopShapeEnum = 'circle' | 'square';