UNPKG

oadp-material

Version:
44 lines (43 loc) 998 B
import * as React from 'react'; import './index.scss'; export interface OadpFilterProps { /** * 主轴方向 */ direction?: 'hoz' | 'ver'; /** * 是否宽度(行模式下)/ 高度(列模式下)自适应内容 */ autoFit?: boolean; /** * 在行模式下,未设置 autoFit 时, 自定义单个 cell 的宽度, */ width?: number | string; /** * 指定高度 */ height?: number | string; /** * 水平对齐 */ align?: 'left' | 'center' | 'right'; /** * 垂直对齐 */ verAlign?: 'top' | 'middle' | 'bottom' | 'space-around' | 'space-between' | 'space-evenly'; /** * 间距 */ gap?: 'auto' | number; /** * 启用 display:block 模式(默认为 flex ) */ block?: boolean; /** * 孩子节点 */ children?: React.ReactNode; [prop: string]: any; } declare const OadpFilter: React.FC<OadpFilterProps>; export default OadpFilter;