/**
* 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC
* */
import { ButtonProps } from '../button/index';
export interface TdFabProps {
/**
* 透传至 Button 组件
*/
buttonProps?: {
type: ObjectConstructor;
value?: ButtonProps;
};
/**
* 是否可拖拽。`true` / `'all'`可拖动
`'vertical'`可垂直拖动
`'horizontal'`可水平拖动
`false`禁止拖动
* @default false
*/
draggable?: {
type: null;
value?: boolean | FabDirectionEnum;
};
/**
* 图标名称。值为字符串表示图标名称,值为 `Object` 类型,表示透传至 `icon` 组件
*/
icon?: {
type: null;
value?: string | object;
};
/**
* 悬浮按钮的样式,常用于调整位置(即将废弃,建议使用 `style`)
* @default right: 16px; bottom: 32px;
*/
style?: {
type: StringConstructor;
value?: string;
};
/**
* 文本内容
* @default ''
*/
text?: {
type: StringConstructor;
value?: string;
};
/**
* 是否使用了自定义导航栏
* @default false
*/
usingCustomNavbar?: {
type: BooleanConstructor;
value?: boolean;
};
/**
* 设置垂直方向边界限制,示例:[48, 48] 或 ['96px', 80]
*/
yBounds?: {
type: ArrayConstructor;
value?: Array;
};
}
export declare type FabDirectionEnum = 'all' | 'vertical' | 'horizontal';