UNPKG

@tplc/business

Version:

74 lines (71 loc) 1.72 kB
import { DynamicOptions } from 'action' export interface LcbBlockProps { /** 左右外距 */ marginHorizontal?: number /** 左右内距 */ paddingHorizontal?: number /** 上下内距 */ paddingVertical?: number /** 背景颜色 #ffffff */ backgroundColor?: string /** 背景图片 */ backgroundImage?: string /** 上浮距离 */ floatUp?: number /** 阴影颜色 */ shadowColor?: string /** 阴影大小 */ shadowSize?: number /** 模糊大小 */ blurSize?: number /** 透明度 */ opacity?: number paddingTop?: number paddingBottom?: number paddingLeft?: number paddingRight?: number marginTop?: number marginBottom?: number marginLeft?: number marginRight?: number zIndex?: number position?: 'relative' | 'absolute' | 'fixed' color?: string fontSize?: number fontWeight?: number radius?: number topRadius?: number bottomRadius?: number customClass?: string backgroundRepeat?: 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat' backgroundSize?: string backgroundPosition?: string borderColor?: string borderWidth?: number textAlign?: 'left' | 'center' | 'right' customStyle?: Record<string, any> align?: | 'top-left' | 'top-center' | 'top-right' | 'center-left' | 'center-center' | 'center-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' // 动态样式集合 dynamicStyleOptions?: DynamicOptions dynamicBgImage?: string // fixed/absolute 定位相关 top?: number left?: number right?: number bottom?: number width?: number height?: number borderVisible?:Record<string,number> } export interface LcbBlockInnerProps extends LcbBlockProps { [key: string]: any }