jiaqingjiayi-xiaochengxu/甲情_甲意/miniprogram/node_modules/antd-mini/es/Divider/props.d.ts
2024-11-10 15:01:22 +08:00

52 lines
1013 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { IBaseProps } from '../_base';
/**
* @description 分割线
*/
export interface IDividerProps extends IBaseProps {
/**
* @description 分割线颜色
* @default '#eee'
*/
borderColor: string;
/**
* @description 分割线类型支持css内置的值
* @default 'solid'
*/
borderStyle: string;
/**
* @description 分割线文字颜色
* @default '#333'
*/
color: string;
/**
* @description 分割线方向
* @default 'horizontal'
*/
direction: 'horizontal' | 'vertical';
/**
* @description 分割线高度direction为'vertical'时生效
* @default '30rpx'
*/
height: string;
/**
* @description 分割线间距, direction为'horizontal'表示垂直间距direction为'vertical'表示水平间距
* @default '16rpx'
*/
margin: string;
/**
* @description 分割线
* @default 'center'
*/
textPosition: 'left' | 'center' | 'right';
}
export declare const DividerDefaultProps: Partial<IDividerProps>;