@uyun/pro-search-expand-layout
搜索扩展布局
Last updated 3 years ago by liupeng .
UNLICENSED · Repository ·
$ cnpm install @uyun/pro-search-expand-layout 
Private package

搜索扩展布局

此组件提供一种布局方式,用来组合多个搜索条件。

安装

yarn add @uyun/pro

使用

import { SearchExpandLayout } from "@uyun/pro";

示例

基础示例

<Example path="Basic" />

展开受控

<Example path="Controlled" />

具有边框

<Example path="Bordered" />

复杂示例

<Example path="Complex" /> <Example path="BorderedComplex" />

属性

字段 类型 描述
text ReactNode 展开按钮的文本
bordered boolean 展开时是否显示边框
left ReactNode 展开按钮左侧内容
right ReactNode 展开按钮右侧内容
children ReactNode 展开的内容
expanded boolean 是否展开
defaultExpanded boolean 默认是否展开
onExpandedChange (expanded: boolean) => void 展开改变事件
leftClassName string 展开按钮左侧内容的样式名称
leftStyle CSSProperties 展开按钮左侧内容的样式对象
rightClassName string 展开按钮右侧内容的样式名称
rightStyle CSSProperties 展开按钮右侧内容的样式对象
contentClassName string 展开内容的样式名称
contentStyle CSSProperties 展开内容的样式对象

Current Tags

  • 1.0.1-dev.0                                ...           dev (3 years ago)
  • 1.0.2                                ...           latest (3 years ago)

12 Versions

  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.1-dev.0                                ...           3 years ago
  • 0.2.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.2.3-dev.0                                ...           3 years ago
  • 0.2.3-alpha.5                                ...           3 years ago
  • 0.2.3-alpha.4                                ...           3 years ago
  • 0.2.3-alpha.3                                ...           3 years ago
  • 0.2.3-alpha.2                                ...           3 years ago
  • 0.2.3-alpha.1                                ...           3 years ago
  • 0.2.0                                ...           3 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org